using System.Runtime.InteropServices;
namespace csctp
{

	/// <summary>
	/// 信息分发
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDisseminationField
	{
		/// <summary>
		/// 序列系列号
		/// </summary>
		public System.Int16 SequenceSeries;

		/// <summary>
		/// 序列号
		/// </summary>
		public System.Int32 SequenceNo;

	}

	/// <summary>
	/// 用户登录请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserLoginField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 动态密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OneTimePassword;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

	}

	/// <summary>
	/// 用户登录应答
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspUserLoginField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 登录成功时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginTime;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易系统名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SystemName;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 最大报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MaxOrderRef;

		/// <summary>
		/// 上期所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SHFETime;

		/// <summary>
		/// 大商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String DCETime;

		/// <summary>
		/// 郑商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CZCETime;

		/// <summary>
		/// 中金所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String FFEXTime;

		/// <summary>
		/// 能源中心时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String INETime;

		/// <summary>
		/// 后台版本信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SysVersion;

		/// <summary>
		/// 广期所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GFEXTime;

	}

	/// <summary>
	/// 用户登出请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserLogoutField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 强制交易员退出
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcForceUserLogoutField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 客户端认证请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqAuthenticateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 认证码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String AuthCode;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

	}

	/// <summary>
	/// 客户端认证响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspAuthenticateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

		/// <summary>
		/// App类型
		/// </summary>
		public TThostFtdcAppTypeType AppType;

	}

	/// <summary>
	/// 客户端认证信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAuthenticationInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 认证信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String AuthInfo;

		/// <summary>
		/// 是否为认证结果
		/// </summary>
		public System.Int32 IsResult;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

		/// <summary>
		/// App类型
		/// </summary>
		public TThostFtdcAppTypeType AppType;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

	}

	/// <summary>
	/// 用户登录应答2
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspUserLogin2Field
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 登录成功时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginTime;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易系统名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SystemName;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 最大报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MaxOrderRef;

		/// <summary>
		/// 上期所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SHFETime;

		/// <summary>
		/// 大商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String DCETime;

		/// <summary>
		/// 郑商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CZCETime;

		/// <summary>
		/// 中金所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String FFEXTime;

		/// <summary>
		/// 能源中心时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String INETime;

		/// <summary>
		/// 随机串
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String RandomString;

	}

	/// <summary>
	/// 银期转帐报文头
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferHeaderField
	{
		/// <summary>
		/// 版本号，常量，1.0
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String Version;

		/// <summary>
		/// 交易代码，必填
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 交易日期，必填，格式：yyyymmdd
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间，必填，格式：hhmmss
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 发起方流水号，N/A
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeSerial;

		/// <summary>
		/// 期货公司代码，必填
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String FutureID;

		/// <summary>
		/// 银行代码，根据查询银行得到，必填
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码，根据查询银行得到，必填
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

		/// <summary>
		/// 操作员，N/A
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 交易设备类型，N/A
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 记录数，N/A
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String RecordNum;

		/// <summary>
		/// 会话编号，N/A
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 请求编号，N/A
		/// </summary>
		public System.Int32 RequestID;

	}

	/// <summary>
	/// 银行资金转期货请求，TradeCode=202001
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferBankToFutureReqField
	{
		/// <summary>
		/// 期货资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 密码标志
		/// </summary>
		public TThostFtdcFuturePwdFlagType FuturePwdFlag;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String FutureAccPwd;

		/// <summary>
		/// 转账金额
		/// </summary>
		public System.Double TradeAmt;

		/// <summary>
		/// 客户手续费
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 币种：RMB-人民币 USD-美圆 HKD-港元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 银行资金转期货请求响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferBankToFutureRspField
	{
		/// <summary>
		/// 响应代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String RetCode;

		/// <summary>
		/// 响应信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String RetInfo;

		/// <summary>
		/// 资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmt;

		/// <summary>
		/// 应收客户手续费
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 期货资金转银行请求，TradeCode=202002
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferFutureToBankReqField
	{
		/// <summary>
		/// 期货资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 密码标志
		/// </summary>
		public TThostFtdcFuturePwdFlagType FuturePwdFlag;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String FutureAccPwd;

		/// <summary>
		/// 转账金额
		/// </summary>
		public System.Double TradeAmt;

		/// <summary>
		/// 客户手续费
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 币种：RMB-人民币 USD-美圆 HKD-港元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 期货资金转银行请求响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferFutureToBankRspField
	{
		/// <summary>
		/// 响应代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String RetCode;

		/// <summary>
		/// 响应信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String RetInfo;

		/// <summary>
		/// 资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmt;

		/// <summary>
		/// 应收客户手续费
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 查询银行资金请求，TradeCode=204002
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferQryBankReqField
	{
		/// <summary>
		/// 期货资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 密码标志
		/// </summary>
		public TThostFtdcFuturePwdFlagType FuturePwdFlag;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String FutureAccPwd;

		/// <summary>
		/// 币种：RMB-人民币 USD-美圆 HKD-港元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 查询银行资金请求响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferQryBankRspField
	{
		/// <summary>
		/// 响应代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String RetCode;

		/// <summary>
		/// 响应信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String RetInfo;

		/// <summary>
		/// 资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

		/// <summary>
		/// 银行余额
		/// </summary>
		public System.Double TradeAmt;

		/// <summary>
		/// 银行可用余额
		/// </summary>
		public System.Double UseAmt;

		/// <summary>
		/// 银行可取余额
		/// </summary>
		public System.Double FetchAmt;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

	}

	/// <summary>
	/// 查询银行交易明细请求，TradeCode=204999
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferQryDetailReqField
	{
		/// <summary>
		/// 期货资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String FutureAccount;

	}

	/// <summary>
	/// 查询银行交易明细请求响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferQryDetailRspField
	{
		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 交易代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 期货流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 期货公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String FutureID;

		/// <summary>
		/// 资金帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 22)]
		public System.String FutureAccount;

		/// <summary>
		/// 银行流水号
		/// </summary>
		public System.Int32 BankSerial;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

		/// <summary>
		/// 银行账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CertCode;

		/// <summary>
		/// 货币代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyCode;

		/// <summary>
		/// 发生金额
		/// </summary>
		public System.Double TxAmount;

		/// <summary>
		/// 有效标志
		/// </summary>
		public TThostFtdcTransferValidFlagType Flag;

	}

	/// <summary>
	/// 响应信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspInfoField
	{
		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 交易所
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 61)]
		public System.String ExchangeName;

		/// <summary>
		/// 交易所属性
		/// </summary>
		public TThostFtdcExchangePropertyType ExchangeProperty;

	}

	/// <summary>
	/// 产品
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcProductField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 产品名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ProductName;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品类型
		/// </summary>
		public TThostFtdcProductClassType ProductClass;

		/// <summary>
		/// 合约数量乘数
		/// </summary>
		public System.Int32 VolumeMultiple;

		/// <summary>
		/// 最小变动价位
		/// </summary>
		public System.Double PriceTick;

		/// <summary>
		/// 市价单最大下单量
		/// </summary>
		public System.Int32 MaxMarketOrderVolume;

		/// <summary>
		/// 市价单最小下单量
		/// </summary>
		public System.Int32 MinMarketOrderVolume;

		/// <summary>
		/// 限价单最大下单量
		/// </summary>
		public System.Int32 MaxLimitOrderVolume;

		/// <summary>
		/// 限价单最小下单量
		/// </summary>
		public System.Int32 MinLimitOrderVolume;

		/// <summary>
		/// 持仓类型
		/// </summary>
		public TThostFtdcPositionTypeType PositionType;

		/// <summary>
		/// 持仓日期类型
		/// </summary>
		public TThostFtdcPositionDateTypeType PositionDateType;

		/// <summary>
		/// 平仓处理类型
		/// </summary>
		public TThostFtdcCloseDealTypeType CloseDealType;

		/// <summary>
		/// 交易币种类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String TradeCurrencyID;

		/// <summary>
		/// 质押资金可用范围
		/// </summary>
		public TThostFtdcMortgageFundUseRangeType MortgageFundUseRange;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 合约基础商品乘数
		/// </summary>
		public System.Double UnderlyingMultiple;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 交易所产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeProductID;

		/// <summary>
		/// 开仓量限制粒度
		/// </summary>
		public TThostFtdcOpenLimitControlLevelType OpenLimitControlLevel;

		/// <summary>
		/// 报单频率控制粒度
		/// </summary>
		public TThostFtdcOrderFreqControlLevelType OrderFreqControlLevel;

	}

	/// <summary>
	/// 合约
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String InstrumentName;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve3;

		/// <summary>
		/// 产品类型
		/// </summary>
		public TThostFtdcProductClassType ProductClass;

		/// <summary>
		/// 交割年份
		/// </summary>
		public System.Int32 DeliveryYear;

		/// <summary>
		/// 交割月
		/// </summary>
		public System.Int32 DeliveryMonth;

		/// <summary>
		/// 市价单最大下单量
		/// </summary>
		public System.Int32 MaxMarketOrderVolume;

		/// <summary>
		/// 市价单最小下单量
		/// </summary>
		public System.Int32 MinMarketOrderVolume;

		/// <summary>
		/// 限价单最大下单量
		/// </summary>
		public System.Int32 MaxLimitOrderVolume;

		/// <summary>
		/// 限价单最小下单量
		/// </summary>
		public System.Int32 MinLimitOrderVolume;

		/// <summary>
		/// 合约数量乘数
		/// </summary>
		public System.Int32 VolumeMultiple;

		/// <summary>
		/// 最小变动价位
		/// </summary>
		public System.Double PriceTick;

		/// <summary>
		/// 创建日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CreateDate;

		/// <summary>
		/// 上市日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 到期日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExpireDate;

		/// <summary>
		/// 开始交割日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String StartDelivDate;

		/// <summary>
		/// 结束交割日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String EndDelivDate;

		/// <summary>
		/// 合约生命周期状态
		/// </summary>
		public TThostFtdcInstLifePhaseType InstLifePhase;

		/// <summary>
		/// 当前是否交易
		/// </summary>
		public System.Int32 IsTrading;

		/// <summary>
		/// 持仓类型
		/// </summary>
		public TThostFtdcPositionTypeType PositionType;

		/// <summary>
		/// 持仓日期类型
		/// </summary>
		public TThostFtdcPositionDateTypeType PositionDateType;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatio;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatio;

		/// <summary>
		/// 是否使用大额单边保证金算法
		/// </summary>
		public TThostFtdcMaxMarginSideAlgorithmType MaxMarginSideAlgorithm;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve4;

		/// <summary>
		/// 执行价
		/// </summary>
		public System.Double StrikePrice;

		/// <summary>
		/// 期权类型
		/// </summary>
		public TThostFtdcOptionsTypeType OptionsType;

		/// <summary>
		/// 合约基础商品乘数
		/// </summary>
		public System.Double UnderlyingMultiple;

		/// <summary>
		/// 组合类型
		/// </summary>
		public TThostFtdcCombinationTypeType CombinationType;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 基础商品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String UnderlyingInstrID;

	}

	/// <summary>
	/// 经纪公司
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 经纪公司简称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BrokerAbbr;

		/// <summary>
		/// 经纪公司名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String BrokerName;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

	}

	/// <summary>
	/// 交易所交易员
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTraderField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装数量
		/// </summary>
		public System.Int32 InstallCount;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 撤单时选择席位算法
		/// </summary>
		public TThostFtdcOrderCancelAlgType OrderCancelAlg;

	}

	/// <summary>
	/// 投资者
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorField
	{
		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者分组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorGroupID;

		/// <summary>
		/// 投资者名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InvestorName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdentifiedCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 联系电话
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 通讯地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 开户日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Mobile;

		/// <summary>
		/// 手续费率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CommModelID;

		/// <summary>
		/// 保证金率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MarginModelID;

		/// <summary>
		/// 是否频率控制
		/// </summary>
		public TThostFtdcEnumBoolType IsOrderFreq;

		/// <summary>
		/// 是否开仓限制
		/// </summary>
		public TThostFtdcEnumBoolType IsOpenVolLimit;

	}

	/// <summary>
	/// 交易编码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingCodeField
	{
		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 交易编码类型
		/// </summary>
		public TThostFtdcClientIDTypeType ClientIDType;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 业务类型
		/// </summary>
		public TThostFtdcBizTypeType BizType;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 会员编码和经纪公司编码对照表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcPartBrokerField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

	}

	/// <summary>
	/// 管理用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSuperUserField
	{
		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String UserName;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

	}

	/// <summary>
	/// 管理用户功能权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSuperUserFunctionField
	{
		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 功能代码
		/// </summary>
		public TThostFtdcFunctionCodeType FunctionCode;

	}

	/// <summary>
	/// 投资者组
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorGroupField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者分组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorGroupID;

		/// <summary>
		/// 投资者分组名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String InvestorGroupName;

	}

	/// <summary>
	/// 资金账户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingAccountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 上次质押金额
		/// </summary>
		public System.Double PreMortgage;

		/// <summary>
		/// 上次信用额度
		/// </summary>
		public System.Double PreCredit;

		/// <summary>
		/// 上次存款额
		/// </summary>
		public System.Double PreDeposit;

		/// <summary>
		/// 上次结算准备金
		/// </summary>
		public System.Double PreBalance;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 利息基数
		/// </summary>
		public System.Double InterestBase;

		/// <summary>
		/// 利息收入
		/// </summary>
		public System.Double Interest;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 出金金额
		/// </summary>
		public System.Double Withdraw;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 当前保证金总额
		/// </summary>
		public System.Double CurrMargin;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 期货结算准备金
		/// </summary>
		public System.Double Balance;

		/// <summary>
		/// 可用资金
		/// </summary>
		public System.Double Available;

		/// <summary>
		/// 可取资金
		/// </summary>
		public System.Double WithdrawQuota;

		/// <summary>
		/// 基本准备金
		/// </summary>
		public System.Double Reserve;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 信用额度
		/// </summary>
		public System.Double Credit;

		/// <summary>
		/// 质押金额
		/// </summary>
		public System.Double Mortgage;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 投资者交割保证金
		/// </summary>
		public System.Double DeliveryMargin;

		/// <summary>
		/// 交易所交割保证金
		/// </summary>
		public System.Double ExchangeDeliveryMargin;

		/// <summary>
		/// 保底期货结算准备金
		/// </summary>
		public System.Double ReserveBalance;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 上次货币质入金额
		/// </summary>
		public System.Double PreFundMortgageIn;

		/// <summary>
		/// 上次货币质出金额
		/// </summary>
		public System.Double PreFundMortgageOut;

		/// <summary>
		/// 货币质入金额
		/// </summary>
		public System.Double FundMortgageIn;

		/// <summary>
		/// 货币质出金额
		/// </summary>
		public System.Double FundMortgageOut;

		/// <summary>
		/// 货币质押余额
		/// </summary>
		public System.Double FundMortgageAvailable;

		/// <summary>
		/// 可质押货币金额
		/// </summary>
		public System.Double MortgageableFund;

		/// <summary>
		/// 特殊产品占用保证金
		/// </summary>
		public System.Double SpecProductMargin;

		/// <summary>
		/// 特殊产品冻结保证金
		/// </summary>
		public System.Double SpecProductFrozenMargin;

		/// <summary>
		/// 特殊产品手续费
		/// </summary>
		public System.Double SpecProductCommission;

		/// <summary>
		/// 特殊产品冻结手续费
		/// </summary>
		public System.Double SpecProductFrozenCommission;

		/// <summary>
		/// 特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfit;

		/// <summary>
		/// 特殊产品平仓盈亏
		/// </summary>
		public System.Double SpecProductCloseProfit;

		/// <summary>
		/// 根据持仓盈亏算法计算的特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfitByAlg;

		/// <summary>
		/// 特殊产品交易所保证金
		/// </summary>
		public System.Double SpecProductExchangeMargin;

		/// <summary>
		/// 业务类型
		/// </summary>
		public TThostFtdcBizTypeType BizType;

		/// <summary>
		/// 延时换汇冻结金额
		/// </summary>
		public System.Double FrozenSwap;

		/// <summary>
		/// 剩余换汇额度
		/// </summary>
		public System.Double RemainSwap;

	}

	/// <summary>
	/// 投资者持仓
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorPositionField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 持仓多空方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 持仓日期
		/// </summary>
		public TThostFtdcPositionDateType PositionDate;

		/// <summary>
		/// 上日持仓
		/// </summary>
		public System.Int32 YdPosition;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 Position;

		/// <summary>
		/// 多头冻结
		/// </summary>
		public System.Int32 LongFrozen;

		/// <summary>
		/// 空头冻结
		/// </summary>
		public System.Int32 ShortFrozen;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double LongFrozenAmount;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double ShortFrozenAmount;

		/// <summary>
		/// 开仓量
		/// </summary>
		public System.Int32 OpenVolume;

		/// <summary>
		/// 平仓量
		/// </summary>
		public System.Int32 CloseVolume;

		/// <summary>
		/// 开仓金额
		/// </summary>
		public System.Double OpenAmount;

		/// <summary>
		/// 平仓金额
		/// </summary>
		public System.Double CloseAmount;

		/// <summary>
		/// 持仓成本
		/// </summary>
		public System.Double PositionCost;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 占用的保证金
		/// </summary>
		public System.Double UseMargin;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 开仓成本
		/// </summary>
		public System.Double OpenCost;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 组合成交形成的持仓
		/// </summary>
		public System.Int32 CombPosition;

		/// <summary>
		/// 组合多头冻结
		/// </summary>
		public System.Int32 CombLongFrozen;

		/// <summary>
		/// 组合空头冻结
		/// </summary>
		public System.Int32 CombShortFrozen;

		/// <summary>
		/// 逐日盯市平仓盈亏
		/// </summary>
		public System.Double CloseProfitByDate;

		/// <summary>
		/// 逐笔对冲平仓盈亏
		/// </summary>
		public System.Double CloseProfitByTrade;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 TodayPosition;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 执行冻结
		/// </summary>
		public System.Int32 StrikeFrozen;

		/// <summary>
		/// 执行冻结金额
		/// </summary>
		public System.Double StrikeFrozenAmount;

		/// <summary>
		/// 放弃执行冻结
		/// </summary>
		public System.Int32 AbandonFrozen;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行冻结的昨仓
		/// </summary>
		public System.Int32 YdStrikeFrozen;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 持仓成本差值
		/// </summary>
		public System.Double PositionCostOffset;

		/// <summary>
		/// tas持仓手数
		/// </summary>
		public System.Int32 TasPosition;

		/// <summary>
		/// tas持仓成本
		/// </summary>
		public System.Double TasPositionCost;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 合约保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentMarginRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 是否相对交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 合约手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentCommissionRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 业务类型
		/// </summary>
		public TThostFtdcBizTypeType BizType;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 深度行情
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDepthMarketDataField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 最新价
		/// </summary>
		public System.Double LastPrice;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 昨收盘
		/// </summary>
		public System.Double PreClosePrice;

		/// <summary>
		/// 昨持仓量
		/// </summary>
		public System.Double PreOpenInterest;

		/// <summary>
		/// 今开盘
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 最高价
		/// </summary>
		public System.Double HighestPrice;

		/// <summary>
		/// 最低价
		/// </summary>
		public System.Double LowestPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交金额
		/// </summary>
		public System.Double Turnover;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Double OpenInterest;

		/// <summary>
		/// 今收盘
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 涨停板价
		/// </summary>
		public System.Double UpperLimitPrice;

		/// <summary>
		/// 跌停板价
		/// </summary>
		public System.Double LowerLimitPrice;

		/// <summary>
		/// 昨虚实度
		/// </summary>
		public System.Double PreDelta;

		/// <summary>
		/// 今虚实度
		/// </summary>
		public System.Double CurrDelta;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 最后修改毫秒
		/// </summary>
		public System.Int32 UpdateMillisec;

		/// <summary>
		/// 申买价一
		/// </summary>
		public System.Double BidPrice1;

		/// <summary>
		/// 申买量一
		/// </summary>
		public System.Int32 BidVolume1;

		/// <summary>
		/// 申卖价一
		/// </summary>
		public System.Double AskPrice1;

		/// <summary>
		/// 申卖量一
		/// </summary>
		public System.Int32 AskVolume1;

		/// <summary>
		/// 申买价二
		/// </summary>
		public System.Double BidPrice2;

		/// <summary>
		/// 申买量二
		/// </summary>
		public System.Int32 BidVolume2;

		/// <summary>
		/// 申卖价二
		/// </summary>
		public System.Double AskPrice2;

		/// <summary>
		/// 申卖量二
		/// </summary>
		public System.Int32 AskVolume2;

		/// <summary>
		/// 申买价三
		/// </summary>
		public System.Double BidPrice3;

		/// <summary>
		/// 申买量三
		/// </summary>
		public System.Int32 BidVolume3;

		/// <summary>
		/// 申卖价三
		/// </summary>
		public System.Double AskPrice3;

		/// <summary>
		/// 申卖量三
		/// </summary>
		public System.Int32 AskVolume3;

		/// <summary>
		/// 申买价四
		/// </summary>
		public System.Double BidPrice4;

		/// <summary>
		/// 申买量四
		/// </summary>
		public System.Int32 BidVolume4;

		/// <summary>
		/// 申卖价四
		/// </summary>
		public System.Double AskPrice4;

		/// <summary>
		/// 申卖量四
		/// </summary>
		public System.Int32 AskVolume4;

		/// <summary>
		/// 申买价五
		/// </summary>
		public System.Double BidPrice5;

		/// <summary>
		/// 申买量五
		/// </summary>
		public System.Int32 BidVolume5;

		/// <summary>
		/// 申卖价五
		/// </summary>
		public System.Double AskPrice5;

		/// <summary>
		/// 申卖量五
		/// </summary>
		public System.Int32 AskVolume5;

		/// <summary>
		/// 当日均价
		/// </summary>
		public System.Double AveragePrice;

		/// <summary>
		/// 业务日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 上带价
		/// </summary>
		public System.Double BandingUpperPrice;

		/// <summary>
		/// 下带价
		/// </summary>
		public System.Double BandingLowerPrice;

	}

	/// <summary>
	/// 投资者合约交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentTradingRightField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易权限
		/// </summary>
		public TThostFtdcTradingRightType TradingRight;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 经纪公司用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String UserName;

		/// <summary>
		/// 用户类型
		/// </summary>
		public TThostFtdcUserTypeType UserType;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 是否使用令牌
		/// </summary>
		public System.Int32 IsUsingOTP;

		/// <summary>
		/// 是否强制终端认证
		/// </summary>
		public System.Int32 IsAuthForce;

	}

	/// <summary>
	/// 经纪公司用户口令
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserPasswordField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 上次修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String LastUpdateTime;

		/// <summary>
		/// 上次登陆时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String LastLoginTime;

		/// <summary>
		/// 密码过期时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExpireDate;

		/// <summary>
		/// 弱密码过期时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String WeakExpireDate;

	}

	/// <summary>
	/// 经纪公司用户功能权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserFunctionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 经纪公司功能代码
		/// </summary>
		public TThostFtdcBrokerFunctionCodeType BrokerFunctionCode;

	}

	/// <summary>
	/// 交易所交易员报盘机
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTraderOfferField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 交易所交易员连接状态
		/// </summary>
		public TThostFtdcTraderConnectStatusType TraderConnectStatus;

		/// <summary>
		/// 发出连接请求的日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectRequestDate;

		/// <summary>
		/// 发出连接请求的时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectRequestTime;

		/// <summary>
		/// 上次报告日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportDate;

		/// <summary>
		/// 上次报告时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportTime;

		/// <summary>
		/// 完成连接日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectDate;

		/// <summary>
		/// 完成连接时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectTime;

		/// <summary>
		/// 启动日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String StartDate;

		/// <summary>
		/// 启动时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String StartTime;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 本席位最大成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MaxTradeID;

		/// <summary>
		/// 本席位最大报单备拷
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String MaxOrderMessageReference;

		/// <summary>
		/// 撤单时选择席位算法
		/// </summary>
		public TThostFtdcOrderCancelAlgType OrderCancelAlg;

	}

	/// <summary>
	/// 投资者结算结果
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSettlementInfoField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 消息正文
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 501)]
		public System.String Content;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 合约保证金率调整
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentMarginRateAdjustField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 是否相对交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeMarginRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所保证金率调整
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeMarginRateAdjustField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 跟随交易所投资者多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 跟随交易所投资者多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 跟随交易所投资者空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 跟随交易所投资者空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 交易所多头保证金率
		/// </summary>
		public System.Double ExchLongMarginRatioByMoney;

		/// <summary>
		/// 交易所多头保证金费
		/// </summary>
		public System.Double ExchLongMarginRatioByVolume;

		/// <summary>
		/// 交易所空头保证金率
		/// </summary>
		public System.Double ExchShortMarginRatioByMoney;

		/// <summary>
		/// 交易所空头保证金费
		/// </summary>
		public System.Double ExchShortMarginRatioByVolume;

		/// <summary>
		/// 不跟随交易所投资者多头保证金率
		/// </summary>
		public System.Double NoLongMarginRatioByMoney;

		/// <summary>
		/// 不跟随交易所投资者多头保证金费
		/// </summary>
		public System.Double NoLongMarginRatioByVolume;

		/// <summary>
		/// 不跟随交易所投资者空头保证金率
		/// </summary>
		public System.Double NoShortMarginRatioByMoney;

		/// <summary>
		/// 不跟随交易所投资者空头保证金费
		/// </summary>
		public System.Double NoShortMarginRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 汇率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 源币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String FromCurrencyID;

		/// <summary>
		/// 源币种单位数量
		/// </summary>
		public System.Double FromCurrencyUnit;

		/// <summary>
		/// 目标币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String ToCurrencyID;

		/// <summary>
		/// 汇率
		/// </summary>
		public System.Double ExchangeRate;

	}

	/// <summary>
	/// 结算引用
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSettlementRefField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

	}

	/// <summary>
	/// 当前时间
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCurrentTimeField
	{
		/// <summary>
		/// 当前交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CurrDate;

		/// <summary>
		/// 当前时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CurrTime;

		/// <summary>
		/// 当前时间（毫秒）
		/// </summary>
		public System.Int32 CurrMillisec;

		/// <summary>
		/// 自然日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

	}

	/// <summary>
	/// 通讯阶段
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCommPhaseField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 通讯时段编号
		/// </summary>
		public System.Int16 CommPhaseNo;

		/// <summary>
		/// 系统编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String SystemID;

	}

	/// <summary>
	/// 登录信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLoginInfoField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 登录日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginDate;

		/// <summary>
		/// 登录时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginTime;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// 系统名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SystemName;

		/// <summary>
		/// 密码,已弃用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String PasswordDeprecated;

		/// <summary>
		/// 最大报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MaxOrderRef;

		/// <summary>
		/// 上期所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SHFETime;

		/// <summary>
		/// 大商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String DCETime;

		/// <summary>
		/// 郑商所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CZCETime;

		/// <summary>
		/// 中金所时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String FFEXTime;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 动态密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OneTimePassword;

		/// <summary>
		/// 能源中心时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String INETime;

		/// <summary>
		/// 查询时是否需要流控
		/// </summary>
		public System.Int32 IsQryControl;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 登录信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLogoutAllField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 系统名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SystemName;

	}

	/// <summary>
	/// 前置状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcFrontStatusField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 上次报告日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportDate;

		/// <summary>
		/// 上次报告时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportTime;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

	}

	/// <summary>
	/// 用户口令变更
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserPasswordUpdateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 原来的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OldPassword;

		/// <summary>
		/// 新的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewPassword;

	}

	/// <summary>
	/// 输入报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 用户强评标志
		/// </summary>
		public System.Int32 UserForceClose;

		/// <summary>
		/// 互换单标志
		/// </summary>
		public System.Int32 IsSwapOrder;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报单提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 报单来源
		/// </summary>
		public TThostFtdcOrderSourceType OrderSource;

		/// <summary>
		/// 报单状态
		/// </summary>
		public TThostFtdcOrderStatusType OrderStatus;

		/// <summary>
		/// 报单类型
		/// </summary>
		public TThostFtdcOrderTypeType OrderType;

		/// <summary>
		/// 今成交数量
		/// </summary>
		public System.Int32 VolumeTraded;

		/// <summary>
		/// 剩余数量
		/// </summary>
		public System.Int32 VolumeTotal;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 委托时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 激活时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActiveTime;

		/// <summary>
		/// 挂起时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SuspendTime;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 最后修改交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ActiveTraderID;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 用户强评标志
		/// </summary>
		public System.Int32 UserForceClose;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司报单编号
		/// </summary>
		public System.Int32 BrokerOrderSeq;

		/// <summary>
		/// 相关报单
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String RelativeOrderSysID;

		/// <summary>
		/// 郑商所成交数量
		/// </summary>
		public System.Int32 ZCETotalTradedVolume;

		/// <summary>
		/// 互换单标志
		/// </summary>
		public System.Int32 IsSwapOrder;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOrderField
	{
		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报单提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 报单来源
		/// </summary>
		public TThostFtdcOrderSourceType OrderSource;

		/// <summary>
		/// 报单状态
		/// </summary>
		public TThostFtdcOrderStatusType OrderStatus;

		/// <summary>
		/// 报单类型
		/// </summary>
		public TThostFtdcOrderTypeType OrderType;

		/// <summary>
		/// 今成交数量
		/// </summary>
		public System.Int32 VolumeTraded;

		/// <summary>
		/// 剩余数量
		/// </summary>
		public System.Int32 VolumeTotal;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 委托时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 激活时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActiveTime;

		/// <summary>
		/// 挂起时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SuspendTime;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 最后修改交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ActiveTraderID;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报单插入失败
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOrderInsertErrorField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 输入报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量变化
		/// </summary>
		public System.Int32 VolumeChange;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量变化
		/// </summary>
		public System.Int32 VolumeChange;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOrderActionField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量变化
		/// </summary>
		public System.Int32 VolumeChange;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报单操作失败
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOrderActionErrorField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 交易所成交
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeTradeField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易角色
		/// </summary>
		public TThostFtdcTradingRoleType TradingRole;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double Price;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交时期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 成交时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 成交类型
		/// </summary>
		public TThostFtdcTradeTypeType TradeType;

		/// <summary>
		/// 成交价来源
		/// </summary>
		public TThostFtdcPriceSourceType PriceSource;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 成交来源
		/// </summary>
		public TThostFtdcTradeSourceType TradeSource;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 成交
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易角色
		/// </summary>
		public TThostFtdcTradingRoleType TradingRole;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double Price;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交时期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 成交时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 成交类型
		/// </summary>
		public TThostFtdcTradeTypeType TradeType;

		/// <summary>
		/// 成交价来源
		/// </summary>
		public TThostFtdcPriceSourceType PriceSource;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 经纪公司报单编号
		/// </summary>
		public System.Int32 BrokerOrderSeq;

		/// <summary>
		/// 成交来源
		/// </summary>
		public TThostFtdcTradeSourceType TradeSource;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 用户会话
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserSessionField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 登录日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginDate;

		/// <summary>
		/// 登录时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LoginTime;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询最大报单数量
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMaxOrderVolumeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 最大允许报单数量
		/// </summary>
		public System.Int32 MaxVolume;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 投资者结算结果确认信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSettlementInfoConfirmField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 确认日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConfirmDate;

		/// <summary>
		/// 确认时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConfirmTime;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 出入金同步
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDepositField
	{
		/// <summary>
		/// 出入金流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DepositSeqNo;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 是否强制进行
		/// </summary>
		public System.Int32 IsForce;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 是否是个股期权内转
		/// </summary>
		public System.Int32 IsFromSopt;

		/// <summary>
		/// 资金密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String TradingPassword;

	}

	/// <summary>
	/// 货币质押同步
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncFundMortgageField
	{
		/// <summary>
		/// 货币质押流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String MortgageSeqNo;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 源币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String FromCurrencyID;

		/// <summary>
		/// 质押金额
		/// </summary>
		public System.Double MortgageAmount;

		/// <summary>
		/// 目标币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String ToCurrencyID;

	}

	/// <summary>
	/// 经纪公司同步
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerSyncField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 正在同步中的投资者
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInvestorField
	{
		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者分组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorGroupID;

		/// <summary>
		/// 投资者名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InvestorName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdentifiedCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 联系电话
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 通讯地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 开户日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Mobile;

		/// <summary>
		/// 手续费率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CommModelID;

		/// <summary>
		/// 保证金率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MarginModelID;

		/// <summary>
		/// 是否频率控制
		/// </summary>
		public TThostFtdcEnumBoolType IsOrderFreq;

		/// <summary>
		/// 是否开仓限制
		/// </summary>
		public TThostFtdcEnumBoolType IsOpenVolLimit;

	}

	/// <summary>
	/// 正在同步中的交易代码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingTradingCodeField
	{
		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 交易编码类型
		/// </summary>
		public TThostFtdcClientIDTypeType ClientIDType;

	}

	/// <summary>
	/// 正在同步中的投资者分组
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInvestorGroupField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者分组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorGroupID;

		/// <summary>
		/// 投资者分组名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String InvestorGroupName;

	}

	/// <summary>
	/// 正在同步中的交易账号
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingTradingAccountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 上次质押金额
		/// </summary>
		public System.Double PreMortgage;

		/// <summary>
		/// 上次信用额度
		/// </summary>
		public System.Double PreCredit;

		/// <summary>
		/// 上次存款额
		/// </summary>
		public System.Double PreDeposit;

		/// <summary>
		/// 上次结算准备金
		/// </summary>
		public System.Double PreBalance;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 利息基数
		/// </summary>
		public System.Double InterestBase;

		/// <summary>
		/// 利息收入
		/// </summary>
		public System.Double Interest;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 出金金额
		/// </summary>
		public System.Double Withdraw;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 当前保证金总额
		/// </summary>
		public System.Double CurrMargin;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 期货结算准备金
		/// </summary>
		public System.Double Balance;

		/// <summary>
		/// 可用资金
		/// </summary>
		public System.Double Available;

		/// <summary>
		/// 可取资金
		/// </summary>
		public System.Double WithdrawQuota;

		/// <summary>
		/// 基本准备金
		/// </summary>
		public System.Double Reserve;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 信用额度
		/// </summary>
		public System.Double Credit;

		/// <summary>
		/// 质押金额
		/// </summary>
		public System.Double Mortgage;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 投资者交割保证金
		/// </summary>
		public System.Double DeliveryMargin;

		/// <summary>
		/// 交易所交割保证金
		/// </summary>
		public System.Double ExchangeDeliveryMargin;

		/// <summary>
		/// 保底期货结算准备金
		/// </summary>
		public System.Double ReserveBalance;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 上次货币质入金额
		/// </summary>
		public System.Double PreFundMortgageIn;

		/// <summary>
		/// 上次货币质出金额
		/// </summary>
		public System.Double PreFundMortgageOut;

		/// <summary>
		/// 货币质入金额
		/// </summary>
		public System.Double FundMortgageIn;

		/// <summary>
		/// 货币质出金额
		/// </summary>
		public System.Double FundMortgageOut;

		/// <summary>
		/// 货币质押余额
		/// </summary>
		public System.Double FundMortgageAvailable;

		/// <summary>
		/// 可质押货币金额
		/// </summary>
		public System.Double MortgageableFund;

		/// <summary>
		/// 特殊产品占用保证金
		/// </summary>
		public System.Double SpecProductMargin;

		/// <summary>
		/// 特殊产品冻结保证金
		/// </summary>
		public System.Double SpecProductFrozenMargin;

		/// <summary>
		/// 特殊产品手续费
		/// </summary>
		public System.Double SpecProductCommission;

		/// <summary>
		/// 特殊产品冻结手续费
		/// </summary>
		public System.Double SpecProductFrozenCommission;

		/// <summary>
		/// 特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfit;

		/// <summary>
		/// 特殊产品平仓盈亏
		/// </summary>
		public System.Double SpecProductCloseProfit;

		/// <summary>
		/// 根据持仓盈亏算法计算的特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfitByAlg;

		/// <summary>
		/// 特殊产品交易所保证金
		/// </summary>
		public System.Double SpecProductExchangeMargin;

		/// <summary>
		/// 延时换汇冻结金额
		/// </summary>
		public System.Double FrozenSwap;

		/// <summary>
		/// 剩余换汇额度
		/// </summary>
		public System.Double RemainSwap;

	}

	/// <summary>
	/// 正在同步中的投资者持仓
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInvestorPositionField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 持仓多空方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 持仓日期
		/// </summary>
		public TThostFtdcPositionDateType PositionDate;

		/// <summary>
		/// 上日持仓
		/// </summary>
		public System.Int32 YdPosition;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 Position;

		/// <summary>
		/// 多头冻结
		/// </summary>
		public System.Int32 LongFrozen;

		/// <summary>
		/// 空头冻结
		/// </summary>
		public System.Int32 ShortFrozen;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double LongFrozenAmount;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double ShortFrozenAmount;

		/// <summary>
		/// 开仓量
		/// </summary>
		public System.Int32 OpenVolume;

		/// <summary>
		/// 平仓量
		/// </summary>
		public System.Int32 CloseVolume;

		/// <summary>
		/// 开仓金额
		/// </summary>
		public System.Double OpenAmount;

		/// <summary>
		/// 平仓金额
		/// </summary>
		public System.Double CloseAmount;

		/// <summary>
		/// 持仓成本
		/// </summary>
		public System.Double PositionCost;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 占用的保证金
		/// </summary>
		public System.Double UseMargin;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 开仓成本
		/// </summary>
		public System.Double OpenCost;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 组合成交形成的持仓
		/// </summary>
		public System.Int32 CombPosition;

		/// <summary>
		/// 组合多头冻结
		/// </summary>
		public System.Int32 CombLongFrozen;

		/// <summary>
		/// 组合空头冻结
		/// </summary>
		public System.Int32 CombShortFrozen;

		/// <summary>
		/// 逐日盯市平仓盈亏
		/// </summary>
		public System.Double CloseProfitByDate;

		/// <summary>
		/// 逐笔对冲平仓盈亏
		/// </summary>
		public System.Double CloseProfitByTrade;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 TodayPosition;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 执行冻结
		/// </summary>
		public System.Int32 StrikeFrozen;

		/// <summary>
		/// 执行冻结金额
		/// </summary>
		public System.Double StrikeFrozenAmount;

		/// <summary>
		/// 放弃执行冻结
		/// </summary>
		public System.Int32 AbandonFrozen;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行冻结的昨仓
		/// </summary>
		public System.Int32 YdStrikeFrozen;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 持仓成本差值
		/// </summary>
		public System.Double PositionCostOffset;

		/// <summary>
		/// tas持仓手数
		/// </summary>
		public System.Int32 TasPosition;

		/// <summary>
		/// tas持仓成本
		/// </summary>
		public System.Double TasPositionCost;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 正在同步中的合约保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInstrumentMarginRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 是否相对交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 正在同步中的合约手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInstrumentCommissionRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 正在同步中的合约交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncingInstrumentTradingRightField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易权限
		/// </summary>
		public TThostFtdcTradingRightType TradingRight;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询成交
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTradeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTimeEnd;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询投资者持仓
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorPositionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询资金账户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTradingAccountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 业务类型
		/// </summary>
		public TThostFtdcBizTypeType BizType;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

	}

	/// <summary>
	/// 查询投资者
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 查询交易编码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTradingCodeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易编码类型
		/// </summary>
		public TThostFtdcClientIDTypeType ClientIDType;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 查询投资者组
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorGroupField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 查询合约保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentMarginRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentCommissionRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询合约交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentTradingRightField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询经纪公司
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 查询交易员
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTraderField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 查询管理用户功能权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySuperUserFunctionField
	{
		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 查询用户会话
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryUserSessionField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 查询经纪公司会员代码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryPartBrokerField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

	}

	/// <summary>
	/// 查询前置状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryFrontStatusField
	{
		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

	}

	/// <summary>
	/// 查询交易所报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeOrderField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 查询报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 查询交易所报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeOrderActionField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 查询管理用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySuperUserField
	{
		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 查询交易所
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 查询产品
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryProductField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 产品类型
		/// </summary>
		public TThostFtdcProductClassType ProductClass;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 查询合约
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve3;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 查询行情
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryDepthMarketDataField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询经纪公司用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerUserField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 查询经纪公司用户权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerUserFunctionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 查询交易员报盘机
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTraderOfferField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 查询出入金流水
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySyncDepositField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 出入金流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DepositSeqNo;

	}

	/// <summary>
	/// 查询投资者结算结果
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySettlementInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 查询交易所保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeMarginRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询交易所调整保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeMarginRateAdjustField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询汇率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 源币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String FromCurrencyID;

		/// <summary>
		/// 目标币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String ToCurrencyID;

	}

	/// <summary>
	/// 查询货币质押流水
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySyncFundMortgageField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 货币质押流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String MortgageSeqNo;

	}

	/// <summary>
	/// 查询报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryHisOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前期权合约最小保证金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrMiniMarginField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 单位（手）期权合约最小保证金
		/// </summary>
		public System.Double MinMargin;

		/// <summary>
		/// 取值方式
		/// </summary>
		public TThostFtdcValueMethodType ValueMethod;

		/// <summary>
		/// 是否跟随交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前期权合约保证金调整系数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrMarginAdjustField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByMoney;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByVolume;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByMoney;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByVolume;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByMoney;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByVolume;

		/// <summary>
		/// 是否跟随交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByMoney;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前期权合约手续费的详细内容
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrCommRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 执行手续费率
		/// </summary>
		public System.Double StrikeRatioByMoney;

		/// <summary>
		/// 执行手续费
		/// </summary>
		public System.Double StrikeRatioByVolume;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 期权交易成本
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrTradeCostField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 期权合约保证金不变部分
		/// </summary>
		public System.Double FixedMargin;

		/// <summary>
		/// 期权合约最小保证金
		/// </summary>
		public System.Double MiniMargin;

		/// <summary>
		/// 期权合约权利金
		/// </summary>
		public System.Double Royalty;

		/// <summary>
		/// 交易所期权合约保证金不变部分
		/// </summary>
		public System.Double ExchFixedMargin;

		/// <summary>
		/// 交易所期权合约最小保证金
		/// </summary>
		public System.Double ExchMiniMargin;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 期权交易成本查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOptionInstrTradeCostField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 期权合约报价
		/// </summary>
		public System.Double InputPrice;

		/// <summary>
		/// 标的价格,填0则用昨结算价
		/// </summary>
		public System.Double UnderlyingPrice;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 期权手续费率查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOptionInstrCommRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 股指现货指数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcIndexPriceField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 指数现货收盘价
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 输入的执行宣告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputExecOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 保留头寸申请的持仓方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 期权行权后是否保留期货头寸的标记,该字段已废弃
		/// </summary>
		public TThostFtdcExecOrderPositionFlagType ReservePositionFlag;

		/// <summary>
		/// 期权行权后生成的头寸是否自动平仓
		/// </summary>
		public TThostFtdcExecOrderCloseFlagType CloseFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 输入执行宣告操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputExecOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 执行宣告操作引用
		/// </summary>
		public System.Int32 ExecOrderActionRef;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行宣告操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 执行宣告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExecOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 保留头寸申请的持仓方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 期权行权后是否保留期货头寸的标记,该字段已废弃
		/// </summary>
		public TThostFtdcExecOrderPositionFlagType ReservePositionFlag;

		/// <summary>
		/// 期权行权后生成的头寸是否自动平仓
		/// </summary>
		public TThostFtdcExecOrderCloseFlagType CloseFlag;

		/// <summary>
		/// 本地执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 执行宣告提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 执行结果
		/// </summary>
		public TThostFtdcExecResultType ExecResult;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司报单编号
		/// </summary>
		public System.Int32 BrokerExecOrderSeq;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 执行宣告操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExecOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 执行宣告操作引用
		/// </summary>
		public System.Int32 ExecOrderActionRef;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行宣告操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 执行宣告查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExecOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所执行宣告信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeExecOrderField
	{
		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 保留头寸申请的持仓方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 期权行权后是否保留期货头寸的标记,该字段已废弃
		/// </summary>
		public TThostFtdcExecOrderPositionFlagType ReservePositionFlag;

		/// <summary>
		/// 期权行权后生成的头寸是否自动平仓
		/// </summary>
		public TThostFtdcExecOrderCloseFlagType CloseFlag;

		/// <summary>
		/// 本地执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 执行宣告提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 执行结果
		/// </summary>
		public TThostFtdcExecResultType ExecResult;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所执行宣告查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeExecOrderField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 执行宣告操作查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExecOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 交易所执行宣告操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeExecOrderActionField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行宣告操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地执行宣告编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 交易所执行宣告操作查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeExecOrderActionField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 错误执行宣告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcErrExecOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 执行类型
		/// </summary>
		public TThostFtdcActionTypeType ActionType;

		/// <summary>
		/// 保留头寸申请的持仓方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 期权行权后是否保留期货头寸的标记,该字段已废弃
		/// </summary>
		public TThostFtdcExecOrderPositionFlagType ReservePositionFlag;

		/// <summary>
		/// 期权行权后生成的头寸是否自动平仓
		/// </summary>
		public TThostFtdcExecOrderCloseFlagType CloseFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询错误执行宣告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryErrExecOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 错误执行宣告操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcErrExecOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 执行宣告操作引用
		/// </summary>
		public System.Int32 ExecOrderActionRef;

		/// <summary>
		/// 执行宣告引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ExecOrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行宣告操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ExecOrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询错误执行宣告操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryErrExecOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 投资者期权合约交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrTradingRightField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 交易权限
		/// </summary>
		public TThostFtdcTradingRightType TradingRight;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询期权合约交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOptionInstrTradingRightField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 输入的询价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputForQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 询价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ForQuoteRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 询价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcForQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 询价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ForQuoteRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 本地询价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ForQuoteLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 询价状态
		/// </summary>
		public TThostFtdcForQuoteStatusType ForQuoteStatus;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司询价编号
		/// </summary>
		public System.Int32 BrokerForQutoSeq;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 询价查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryForQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所询价信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeForQuoteField
	{
		/// <summary>
		/// 本地询价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ForQuoteLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 询价状态
		/// </summary>
		public TThostFtdcForQuoteStatusType ForQuoteStatus;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所询价查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeForQuoteField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 输入的报价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 卖价格
		/// </summary>
		public System.Double AskPrice;

		/// <summary>
		/// 买价格
		/// </summary>
		public System.Double BidPrice;

		/// <summary>
		/// 卖数量
		/// </summary>
		public System.Int32 AskVolume;

		/// <summary>
		/// 买数量
		/// </summary>
		public System.Int32 BidVolume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 卖开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType AskOffsetFlag;

		/// <summary>
		/// 买开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType BidOffsetFlag;

		/// <summary>
		/// 卖投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType AskHedgeFlag;

		/// <summary>
		/// 买投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType BidHedgeFlag;

		/// <summary>
		/// 衍生卖报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AskOrderRef;

		/// <summary>
		/// 衍生买报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BidOrderRef;

		/// <summary>
		/// 应价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ForQuoteSysID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

		/// <summary>
		/// 被顶单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ReplaceSysID;

	}

	/// <summary>
	/// 输入报价操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputQuoteActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报价操作引用
		/// </summary>
		public System.Int32 QuoteActionRef;

		/// <summary>
		/// 报价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报价操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 报价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 卖价格
		/// </summary>
		public System.Double AskPrice;

		/// <summary>
		/// 买价格
		/// </summary>
		public System.Double BidPrice;

		/// <summary>
		/// 卖数量
		/// </summary>
		public System.Int32 AskVolume;

		/// <summary>
		/// 买数量
		/// </summary>
		public System.Int32 BidVolume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 卖开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType AskOffsetFlag;

		/// <summary>
		/// 买开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType BidOffsetFlag;

		/// <summary>
		/// 卖投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType AskHedgeFlag;

		/// <summary>
		/// 买投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType BidHedgeFlag;

		/// <summary>
		/// 本地报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报价提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 报价提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 报价状态
		/// </summary>
		public TThostFtdcOrderStatusType QuoteStatus;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 卖方报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String AskOrderSysID;

		/// <summary>
		/// 买方报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BidOrderSysID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司报价编号
		/// </summary>
		public System.Int32 BrokerQuoteSeq;

		/// <summary>
		/// 衍生卖报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AskOrderRef;

		/// <summary>
		/// 衍生买报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BidOrderRef;

		/// <summary>
		/// 应价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ForQuoteSysID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

		/// <summary>
		/// 被顶单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ReplaceSysID;

	}

	/// <summary>
	/// 报价操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQuoteActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报价操作引用
		/// </summary>
		public System.Int32 QuoteActionRef;

		/// <summary>
		/// 报价引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报价操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 报价查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryQuoteField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所报价信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeQuoteField
	{
		/// <summary>
		/// 卖价格
		/// </summary>
		public System.Double AskPrice;

		/// <summary>
		/// 买价格
		/// </summary>
		public System.Double BidPrice;

		/// <summary>
		/// 卖数量
		/// </summary>
		public System.Int32 AskVolume;

		/// <summary>
		/// 买数量
		/// </summary>
		public System.Int32 BidVolume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 卖开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType AskOffsetFlag;

		/// <summary>
		/// 买开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType BidOffsetFlag;

		/// <summary>
		/// 卖投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType AskHedgeFlag;

		/// <summary>
		/// 买投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType BidHedgeFlag;

		/// <summary>
		/// 本地报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报价提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 报价提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 报价状态
		/// </summary>
		public TThostFtdcOrderStatusType QuoteStatus;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 卖方报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String AskOrderSysID;

		/// <summary>
		/// 买方报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BidOrderSysID;

		/// <summary>
		/// 应价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ForQuoteSysID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报价查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeQuoteField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 报价操作查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryQuoteActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 交易所报价操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeQuoteActionField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报价操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String QuoteSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String QuoteLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所报价操作查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeQuoteActionField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 期权合约delta值
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionInstrDeltaField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// Delta值
		/// </summary>
		public System.Double Delta;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 发给做市商的询价请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcForQuoteRspField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 询价编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ForQuoteSysID;

		/// <summary>
		/// 询价时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ForQuoteTime;

		/// <summary>
		/// 业务日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前期权合约执行偏移值的详细内容
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcStrikeOffsetField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 执行偏移值
		/// </summary>
		public System.Double Offset;

		/// <summary>
		/// 执行偏移类型
		/// </summary>
		public TThostFtdcStrikeOffsetTypeType OffsetType;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 期权执行偏移值查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryStrikeOffsetField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 输入批量报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputBatchOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 批量报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBatchOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所批量报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeBatchOrderActionField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询批量报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBatchOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 组合合约安全系数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCombInstrumentGuardField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 
		/// </summary>
		public System.Double GuarantRatio;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 组合合约安全系数查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCombInstrumentGuardField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 输入的申请组合
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputCombActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 组合引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CombActionRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 组合指令方向
		/// </summary>
		public TThostFtdcCombDirectionType CombDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 申请组合
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCombActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 组合引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CombActionRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 组合指令方向
		/// </summary>
		public TThostFtdcCombDirectionType CombDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 本地申请组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 组合状态
		/// </summary>
		public TThostFtdcOrderActionStatusType ActionStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ComTradeID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 申请组合查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCombActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所申请组合信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeCombActionField
	{
		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 组合指令方向
		/// </summary>
		public TThostFtdcCombDirectionType CombDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 本地申请组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 组合状态
		/// </summary>
		public TThostFtdcOrderActionStatusType ActionStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ComTradeID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 交易所申请组合查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeCombActionField
	{
		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 产品报价汇率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcProductExchRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报价币种类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String QuoteCurrencyID;

		/// <summary>
		/// 汇率
		/// </summary>
		public System.Double ExchangeRate;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 产品报价汇率查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryProductExchRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 查询询价价差参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryForQuoteParamField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 询价价差参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcForQuoteParamField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 最新价
		/// </summary>
		public System.Double LastPrice;

		/// <summary>
		/// 价差
		/// </summary>
		public System.Double PriceInterval;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前做市商期权合约手续费的详细内容
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMMOptionInstrCommRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 执行手续费率
		/// </summary>
		public System.Double StrikeRatioByMoney;

		/// <summary>
		/// 执行手续费
		/// </summary>
		public System.Double StrikeRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 做市商期权手续费率查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMMOptionInstrCommRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 做市商合约手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMMInstrumentCommissionRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询做市商合约手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMMInstrumentCommissionRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 当前报单手续费的详细内容
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentOrderCommRateField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 报单手续费
		/// </summary>
		public System.Double OrderCommByVolume;

		/// <summary>
		/// 撤单手续费
		/// </summary>
		public System.Double OrderActionCommByVolume;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 报单手续费
		/// </summary>
		public System.Double OrderCommByTrade;

		/// <summary>
		/// 撤单手续费
		/// </summary>
		public System.Double OrderActionCommByTrade;

	}

	/// <summary>
	/// 报单手续费率查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentOrderCommRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradeParamField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 参数代码
		/// </summary>
		public TThostFtdcTradeParamIDType TradeParamID;

		/// <summary>
		/// 参数代码值
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)]
		public System.String TradeParamValue;

		/// <summary>
		/// 备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String Memo;

	}

	/// <summary>
	/// 合约保证金率调整
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentMarginRateULField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 期货持仓限制参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcFutureLimitPosiParamField
	{
		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 当日投机开仓数量限制
		/// </summary>
		public System.Int32 SpecOpenVolume;

		/// <summary>
		/// 当日套利开仓数量限制
		/// </summary>
		public System.Int32 ArbiOpenVolume;

		/// <summary>
		/// 当日投机+套利开仓数量限制
		/// </summary>
		public System.Int32 OpenVolume;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 禁止登录IP
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLoginForbiddenIPField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// IP列表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcIPListField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 是否白名单
		/// </summary>
		public System.Int32 IsWhite;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 输入的期权自对冲
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputOptionSelfCloseField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 期权自对冲引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 期权行权的头寸是否自对冲
		/// </summary>
		public TThostFtdcOptSelfCloseFlagType OptSelfCloseFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 输入期权自对冲操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInputOptionSelfCloseActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 期权自对冲操作引用
		/// </summary>
		public System.Int32 OptionSelfCloseActionRef;

		/// <summary>
		/// 期权自对冲引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 期权自对冲操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 期权自对冲
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionSelfCloseField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 期权自对冲引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 期权行权的头寸是否自对冲
		/// </summary>
		public TThostFtdcOptSelfCloseFlagType OptSelfCloseFlag;

		/// <summary>
		/// 本地期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期权自对冲提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 自对冲结果
		/// </summary>
		public TThostFtdcExecResultType ExecResult;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司报单编号
		/// </summary>
		public System.Int32 BrokerOptionSelfCloseSeq;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 期权自对冲操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOptionSelfCloseActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 期权自对冲操作引用
		/// </summary>
		public System.Int32 OptionSelfCloseActionRef;

		/// <summary>
		/// 期权自对冲引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 期权自对冲操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 期权自对冲查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOptionSelfCloseField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 开始时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeStart;

		/// <summary>
		/// 结束时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTimeEnd;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 交易所期权自对冲信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOptionSelfCloseField
	{
		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 期权行权的头寸是否自对冲
		/// </summary>
		public TThostFtdcOptSelfCloseFlagType OptSelfCloseFlag;

		/// <summary>
		/// 本地期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期权自对冲提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 插入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 自对冲结果
		/// </summary>
		public TThostFtdcExecResultType ExecResult;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 期权自对冲操作查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryOptionSelfCloseActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 交易所期权自对冲操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeOptionSelfCloseActionField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 期权自对冲操作编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OptionSelfCloseSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地期权自对冲编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OptionSelfCloseLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 期权行权的头寸是否自对冲
		/// </summary>
		public TThostFtdcOptSelfCloseFlagType OptSelfCloseFlag;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 延时换汇同步
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDelaySwapField
	{
		/// <summary>
		/// 换汇流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DelaySwapSeqNo;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 源币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String FromCurrencyID;

		/// <summary>
		/// 源金额
		/// </summary>
		public System.Double FromAmount;

		/// <summary>
		/// 源换汇冻结金额(可用冻结)
		/// </summary>
		public System.Double FromFrozenSwap;

		/// <summary>
		/// 源剩余换汇额度(可提冻结)
		/// </summary>
		public System.Double FromRemainSwap;

		/// <summary>
		/// 目标币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String ToCurrencyID;

		/// <summary>
		/// 目标金额
		/// </summary>
		public System.Double ToAmount;

		/// <summary>
		/// 是否手工换汇
		/// </summary>
		public System.Int32 IsManualSwap;

		/// <summary>
		/// 是否将所有外币的剩余换汇额度设置为0
		/// </summary>
		public System.Int32 IsAllRemainSetZero;

	}

	/// <summary>
	/// 查询延时换汇同步
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySyncDelaySwapField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 延时换汇流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DelaySwapSeqNo;

	}

	/// <summary>
	/// 投资单元
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestUnitField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 投资者单元名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InvestorUnitName;

		/// <summary>
		/// 投资者分组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorGroupID;

		/// <summary>
		/// 手续费率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CommModelID;

		/// <summary>
		/// 保证金率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MarginModelID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 查询投资单元
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestUnitField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 二级代理商资金校验模式
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSecAgentCheckModeField
	{
		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 境外中介机构资金帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BrokerSecAgentID;

		/// <summary>
		/// 是否需要校验自己的资金账户
		/// </summary>
		public System.Int32 CheckSelfAccount;

	}

	/// <summary>
	/// 二级代理商信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSecAgentTradeInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 境外中介机构资金帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BrokerSecAgentID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 二级代理商姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 市场行情
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 最新价
		/// </summary>
		public System.Double LastPrice;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 昨收盘
		/// </summary>
		public System.Double PreClosePrice;

		/// <summary>
		/// 昨持仓量
		/// </summary>
		public System.Double PreOpenInterest;

		/// <summary>
		/// 今开盘
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 最高价
		/// </summary>
		public System.Double HighestPrice;

		/// <summary>
		/// 最低价
		/// </summary>
		public System.Double LowestPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交金额
		/// </summary>
		public System.Double Turnover;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Double OpenInterest;

		/// <summary>
		/// 今收盘
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 涨停板价
		/// </summary>
		public System.Double UpperLimitPrice;

		/// <summary>
		/// 跌停板价
		/// </summary>
		public System.Double LowerLimitPrice;

		/// <summary>
		/// 昨虚实度
		/// </summary>
		public System.Double PreDelta;

		/// <summary>
		/// 今虚实度
		/// </summary>
		public System.Double CurrDelta;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 最后修改毫秒
		/// </summary>
		public System.Int32 UpdateMillisec;

		/// <summary>
		/// 业务日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 行情基础属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataBaseField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 昨收盘
		/// </summary>
		public System.Double PreClosePrice;

		/// <summary>
		/// 昨持仓量
		/// </summary>
		public System.Double PreOpenInterest;

		/// <summary>
		/// 昨虚实度
		/// </summary>
		public System.Double PreDelta;

	}

	/// <summary>
	/// 行情静态属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataStaticField
	{
		/// <summary>
		/// 今开盘
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 最高价
		/// </summary>
		public System.Double HighestPrice;

		/// <summary>
		/// 最低价
		/// </summary>
		public System.Double LowestPrice;

		/// <summary>
		/// 今收盘
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 涨停板价
		/// </summary>
		public System.Double UpperLimitPrice;

		/// <summary>
		/// 跌停板价
		/// </summary>
		public System.Double LowerLimitPrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 今虚实度
		/// </summary>
		public System.Double CurrDelta;

	}

	/// <summary>
	/// 行情最新成交属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataLastMatchField
	{
		/// <summary>
		/// 最新价
		/// </summary>
		public System.Double LastPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交金额
		/// </summary>
		public System.Double Turnover;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Double OpenInterest;

	}

	/// <summary>
	/// 行情最优价属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataBestPriceField
	{
		/// <summary>
		/// 申买价一
		/// </summary>
		public System.Double BidPrice1;

		/// <summary>
		/// 申买量一
		/// </summary>
		public System.Int32 BidVolume1;

		/// <summary>
		/// 申卖价一
		/// </summary>
		public System.Double AskPrice1;

		/// <summary>
		/// 申卖量一
		/// </summary>
		public System.Int32 AskVolume1;

	}

	/// <summary>
	/// 行情申买二、三属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataBid23Field
	{
		/// <summary>
		/// 申买价二
		/// </summary>
		public System.Double BidPrice2;

		/// <summary>
		/// 申买量二
		/// </summary>
		public System.Int32 BidVolume2;

		/// <summary>
		/// 申买价三
		/// </summary>
		public System.Double BidPrice3;

		/// <summary>
		/// 申买量三
		/// </summary>
		public System.Int32 BidVolume3;

	}

	/// <summary>
	/// 行情申卖二、三属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataAsk23Field
	{
		/// <summary>
		/// 申卖价二
		/// </summary>
		public System.Double AskPrice2;

		/// <summary>
		/// 申卖量二
		/// </summary>
		public System.Int32 AskVolume2;

		/// <summary>
		/// 申卖价三
		/// </summary>
		public System.Double AskPrice3;

		/// <summary>
		/// 申卖量三
		/// </summary>
		public System.Int32 AskVolume3;

	}

	/// <summary>
	/// 行情申买四、五属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataBid45Field
	{
		/// <summary>
		/// 申买价四
		/// </summary>
		public System.Double BidPrice4;

		/// <summary>
		/// 申买量四
		/// </summary>
		public System.Int32 BidVolume4;

		/// <summary>
		/// 申买价五
		/// </summary>
		public System.Double BidPrice5;

		/// <summary>
		/// 申买量五
		/// </summary>
		public System.Int32 BidVolume5;

	}

	/// <summary>
	/// 行情申卖四、五属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataAsk45Field
	{
		/// <summary>
		/// 申卖价四
		/// </summary>
		public System.Double AskPrice4;

		/// <summary>
		/// 申卖量四
		/// </summary>
		public System.Int32 AskVolume4;

		/// <summary>
		/// 申卖价五
		/// </summary>
		public System.Double AskPrice5;

		/// <summary>
		/// 申卖量五
		/// </summary>
		public System.Int32 AskVolume5;

	}

	/// <summary>
	/// 行情更新时间属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataUpdateTimeField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 最后修改毫秒
		/// </summary>
		public System.Int32 UpdateMillisec;

		/// <summary>
		/// 业务日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 行情上下带价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataBandingPriceField
	{
		/// <summary>
		/// 上带价
		/// </summary>
		public System.Double BandingUpperPrice;

		/// <summary>
		/// 下带价
		/// </summary>
		public System.Double BandingLowerPrice;

	}

	/// <summary>
	/// 行情交易所代码属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataExchangeField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 指定的合约
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSpecificInstrumentField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 合约状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInstrumentStatusField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 结算组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SettlementGroupID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 合约交易状态
		/// </summary>
		public TThostFtdcInstrumentStatusType InstrumentStatus;

		/// <summary>
		/// 交易阶段编号
		/// </summary>
		public System.Int32 TradingSegmentSN;

		/// <summary>
		/// 进入本状态时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String EnterTime;

		/// <summary>
		/// 进入本状态原因
		/// </summary>
		public TThostFtdcInstStatusEnterReasonType EnterReason;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询合约状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInstrumentStatusField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

	}

	/// <summary>
	/// 投资者账户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorAccountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 浮动盈亏算法
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcPositionProfitAlgorithmField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 盈亏算法
		/// </summary>
		public TThostFtdcAlgorithmType Algorithm;

		/// <summary>
		/// 备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String Memo;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 会员资金折扣
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDiscountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 资金折扣比例
		/// </summary>
		public System.Double Discount;

	}

	/// <summary>
	/// 查询转帐银行
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTransferBankField
	{
		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

	}

	/// <summary>
	/// 转帐银行
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferBankField
	{
		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

		/// <summary>
		/// 银行名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String BankName;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

	}

	/// <summary>
	/// 查询投资者持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorPositionDetailField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 投资者持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorPositionDetailField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 买卖
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 开仓日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 开仓价
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 成交类型
		/// </summary>
		public TThostFtdcTradeTypeType TradeType;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 逐日盯市平仓盈亏
		/// </summary>
		public System.Double CloseProfitByDate;

		/// <summary>
		/// 逐笔对冲平仓盈亏
		/// </summary>
		public System.Double CloseProfitByTrade;

		/// <summary>
		/// 逐日盯市持仓盈亏
		/// </summary>
		public System.Double PositionProfitByDate;

		/// <summary>
		/// 逐笔对冲持仓盈亏
		/// </summary>
		public System.Double PositionProfitByTrade;

		/// <summary>
		/// 投资者保证金
		/// </summary>
		public System.Double Margin;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchMargin;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 昨结算价
		/// </summary>
		public System.Double LastSettlementPrice;

		/// <summary>
		/// 结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 平仓量
		/// </summary>
		public System.Int32 CloseVolume;

		/// <summary>
		/// 平仓金额
		/// </summary>
		public System.Double CloseAmount;

		/// <summary>
		/// 先开先平剩余数量
		/// </summary>
		public System.Int32 TimeFirstVolume;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 特殊持仓标志
		/// </summary>
		public TThostFtdcSpecPosiTypeType SpecPosiType;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 组合合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

	}

	/// <summary>
	/// 资金账户口令域
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingAccountPasswordField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 交易所行情报盘机
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMDTraderOfferField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 交易所交易员连接状态
		/// </summary>
		public TThostFtdcTraderConnectStatusType TraderConnectStatus;

		/// <summary>
		/// 发出连接请求的日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectRequestDate;

		/// <summary>
		/// 发出连接请求的时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectRequestTime;

		/// <summary>
		/// 上次报告日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportDate;

		/// <summary>
		/// 上次报告时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String LastReportTime;

		/// <summary>
		/// 完成连接日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectDate;

		/// <summary>
		/// 完成连接时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ConnectTime;

		/// <summary>
		/// 启动日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String StartDate;

		/// <summary>
		/// 启动时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String StartTime;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 本席位最大成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MaxTradeID;

		/// <summary>
		/// 本席位最大报单备拷
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String MaxOrderMessageReference;

		/// <summary>
		/// 撤单时选择席位算法
		/// </summary>
		public TThostFtdcOrderCancelAlgType OrderCancelAlg;

	}

	/// <summary>
	/// 查询行情报盘机
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMDTraderOfferField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

	}

	/// <summary>
	/// 查询客户通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryNoticeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 客户通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcNoticeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 消息正文
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 501)]
		public System.String Content;

		/// <summary>
		/// 经纪公司通知内容序列号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]
		public System.String SequenceLabel;

	}

	/// <summary>
	/// 用户权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserRightField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 客户权限类型
		/// </summary>
		public TThostFtdcUserRightTypeType UserRightType;

		/// <summary>
		/// 是否禁止
		/// </summary>
		public System.Int32 IsForbidden;

	}

	/// <summary>
	/// 查询结算信息确认域
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySettlementInfoConfirmField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 装载结算信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLoadSettlementInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 经纪公司可提资金算法表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerWithdrawAlgorithmField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 可提资金算法
		/// </summary>
		public TThostFtdcAlgorithmType WithdrawAlgorithm;

		/// <summary>
		/// 资金使用率
		/// </summary>
		public System.Double UsingRatio;

		/// <summary>
		/// 可提是否包含平仓盈利
		/// </summary>
		public TThostFtdcIncludeCloseProfitType IncludeCloseProfit;

		/// <summary>
		/// 本日无仓且无成交客户是否受可提比例限制
		/// </summary>
		public TThostFtdcAllWithoutTradeType AllWithoutTrade;

		/// <summary>
		/// 可用是否包含平仓盈利
		/// </summary>
		public TThostFtdcIncludeCloseProfitType AvailIncludeCloseProfit;

		/// <summary>
		/// 是否启用用户事件
		/// </summary>
		public System.Int32 IsBrokerUserEvent;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 货币质押比率
		/// </summary>
		public System.Double FundMortgageRatio;

		/// <summary>
		/// 权益算法
		/// </summary>
		public TThostFtdcBalanceAlgorithmType BalanceAlgorithm;

	}

	/// <summary>
	/// 资金账户口令变更域
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingAccountPasswordUpdateV1Field
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 原来的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OldPassword;

		/// <summary>
		/// 新的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewPassword;

	}

	/// <summary>
	/// 资金账户口令变更域
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingAccountPasswordUpdateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 原来的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OldPassword;

		/// <summary>
		/// 新的口令
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewPassword;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 查询组合合约分腿
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCombinationLegField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 单腿编号
		/// </summary>
		public System.Int32 LegID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 组合合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

		/// <summary>
		/// 单腿合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String LegInstrumentID;

	}

	/// <summary>
	/// 查询组合合约分腿
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySyncStatusField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

	}

	/// <summary>
	/// 组合交易合约的单腿
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCombinationLegField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 单腿编号
		/// </summary>
		public System.Int32 LegID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 单腿乘数
		/// </summary>
		public System.Int32 LegMultiple;

		/// <summary>
		/// 派生层数
		/// </summary>
		public System.Int32 ImplyLevel;

		/// <summary>
		/// 组合合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

		/// <summary>
		/// 单腿合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String LegInstrumentID;

	}

	/// <summary>
	/// 数据同步状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncStatusField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 数据同步状态
		/// </summary>
		public TThostFtdcDataSyncStatusType DataSyncStatus;

	}

	/// <summary>
	/// 查询联系人
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryLinkManField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 联系人
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLinkManField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 联系人类型
		/// </summary>
		public TThostFtdcPersonTypeType PersonType;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdentifiedCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String PersonName;

		/// <summary>
		/// 联系电话
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 通讯地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮政编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 优先级
		/// </summary>
		public System.Int32 Priority;

		/// <summary>
		/// 开户邮政编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UOAZipCode;

		/// <summary>
		/// 全称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String PersonFullName;

	}

	/// <summary>
	/// 查询经纪公司用户事件
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerUserEventField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户事件类型
		/// </summary>
		public TThostFtdcUserEventTypeType UserEventType;

	}

	/// <summary>
	/// 查询经纪公司用户事件
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserEventField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户事件类型
		/// </summary>
		public TThostFtdcUserEventTypeType UserEventType;

		/// <summary>
		/// 用户事件序号
		/// </summary>
		public System.Int32 EventSequenceNo;

		/// <summary>
		/// 事件发生日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String EventDate;

		/// <summary>
		/// 事件发生时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String EventTime;

		/// <summary>
		/// 用户事件信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 1025)]
		public System.String UserEventInfo;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询签约银行请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryContractBankField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

	}

	/// <summary>
	/// 查询签约银行响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcContractBankField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分中心代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBrchID;

		/// <summary>
		/// 银行名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String BankName;

	}

	/// <summary>
	/// 投资者组合持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorPositionCombineDetailField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 开仓日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ComTradeID;

		/// <summary>
		/// 撮合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 买卖
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Int32 TotalAmt;

		/// <summary>
		/// 投资者保证金
		/// </summary>
		public System.Double Margin;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchMargin;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 单腿编号
		/// </summary>
		public System.Int32 LegID;

		/// <summary>
		/// 单腿乘数
		/// </summary>
		public System.Int32 LegMultiple;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 成交组号
		/// </summary>
		public System.Int32 TradeGroupID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 组合持仓合约编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

	}

	/// <summary>
	/// 预埋单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcParkedOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 用户强评标志
		/// </summary>
		public System.Int32 UserForceClose;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 预埋报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ParkedOrderID;

		/// <summary>
		/// 用户类型
		/// </summary>
		public TThostFtdcUserTypeType UserType;

		/// <summary>
		/// 预埋单状态
		/// </summary>
		public TThostFtdcParkedOrderStatusType Status;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 互换单标志
		/// </summary>
		public System.Int32 IsSwapOrder;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 输入预埋单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcParkedOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量变化
		/// </summary>
		public System.Int32 VolumeChange;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 预埋撤单单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ParkedOrderActionID;

		/// <summary>
		/// 用户类型
		/// </summary>
		public TThostFtdcUserTypeType UserType;

		/// <summary>
		/// 预埋撤单状态
		/// </summary>
		public TThostFtdcParkedOrderStatusType Status;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询预埋单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryParkedOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询预埋撤单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryParkedOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 删除预埋单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRemoveParkedOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 预埋报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ParkedOrderID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 删除预埋撤单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRemoveParkedOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 预埋撤单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ParkedOrderActionID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 经纪公司可提资金算法表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorWithdrawAlgorithmField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 可提资金比例
		/// </summary>
		public System.Double UsingRatio;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 货币质押比率
		/// </summary>
		public System.Double FundMortgageRatio;

	}

	/// <summary>
	/// 查询组合持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorPositionCombineDetailField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 组合持仓合约编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

	}

	/// <summary>
	/// 成交均价
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarketDataAveragePriceField
	{
		/// <summary>
		/// 当日均价
		/// </summary>
		public System.Double AveragePrice;

	}

	/// <summary>
	/// 校验投资者密码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcVerifyInvestorPasswordField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

	}

	/// <summary>
	/// 用户IP
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserIPField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

		/// <summary>
		/// IP地址掩码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPMask;

	}

	/// <summary>
	/// 用户事件通知信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingNoticeInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 发送时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SendTime;

		/// <summary>
		/// 消息正文
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 501)]
		public System.String FieldContent;

		/// <summary>
		/// 序列系列号
		/// </summary>
		public System.Int16 SequenceSeries;

		/// <summary>
		/// 序列号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 用户事件通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingNoticeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 序列系列号
		/// </summary>
		public System.Int16 SequenceSeries;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 发送时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SendTime;

		/// <summary>
		/// 序列号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 消息正文
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 501)]
		public System.String FieldContent;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 查询交易事件通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTradingNoticeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 查询错误报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryErrOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 错误报单
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcErrOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 用户强评标志
		/// </summary>
		public System.Int32 UserForceClose;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 互换单标志
		/// </summary>
		public System.Int32 IsSwapOrder;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询错误报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcErrorConditionalOrderField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 报单价格条件
		/// </summary>
		public TThostFtdcOrderPriceTypeType OrderPriceType;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 组合开平标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombOffsetFlag;

		/// <summary>
		/// 组合投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 VolumeTotalOriginal;

		/// <summary>
		/// 有效期类型
		/// </summary>
		public TThostFtdcTimeConditionType TimeCondition;

		/// <summary>
		/// GTD日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String GTDDate;

		/// <summary>
		/// 成交量类型
		/// </summary>
		public TThostFtdcVolumeConditionType VolumeCondition;

		/// <summary>
		/// 最小成交量
		/// </summary>
		public System.Int32 MinVolume;

		/// <summary>
		/// 触发条件
		/// </summary>
		public TThostFtdcContingentConditionType ContingentCondition;

		/// <summary>
		/// 止损价
		/// </summary>
		public System.Double StopPrice;

		/// <summary>
		/// 强平原因
		/// </summary>
		public TThostFtdcForceCloseReasonType ForceCloseReason;

		/// <summary>
		/// 自动挂起标志
		/// </summary>
		public System.Int32 IsAutoSuspend;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 报单提交状态
		/// </summary>
		public TThostFtdcOrderSubmitStatusType OrderSubmitStatus;

		/// <summary>
		/// 报单提示序号
		/// </summary>
		public System.Int32 NotifySequence;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 报单来源
		/// </summary>
		public TThostFtdcOrderSourceType OrderSource;

		/// <summary>
		/// 报单状态
		/// </summary>
		public TThostFtdcOrderStatusType OrderStatus;

		/// <summary>
		/// 报单类型
		/// </summary>
		public TThostFtdcOrderTypeType OrderType;

		/// <summary>
		/// 今成交数量
		/// </summary>
		public System.Int32 VolumeTraded;

		/// <summary>
		/// 剩余数量
		/// </summary>
		public System.Int32 VolumeTotal;

		/// <summary>
		/// 报单日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertDate;

		/// <summary>
		/// 委托时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String InsertTime;

		/// <summary>
		/// 激活时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActiveTime;

		/// <summary>
		/// 挂起时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SuspendTime;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 撤销时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelTime;

		/// <summary>
		/// 最后修改交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ActiveTraderID;

		/// <summary>
		/// 结算会员编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClearingPartID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 用户强评标志
		/// </summary>
		public System.Int32 UserForceClose;

		/// <summary>
		/// 操作用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String ActiveUserID;

		/// <summary>
		/// 经纪公司报单编号
		/// </summary>
		public System.Int32 BrokerOrderSeq;

		/// <summary>
		/// 相关报单
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String RelativeOrderSysID;

		/// <summary>
		/// 郑商所成交数量
		/// </summary>
		public System.Int32 ZCETotalTradedVolume;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 互换单标志
		/// </summary>
		public System.Int32 IsSwapOrder;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 资金账号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve3;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询错误报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryErrOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 错误报单操作
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcErrOrderActionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 报单操作引用
		/// </summary>
		public System.Int32 OrderActionRef;

		/// <summary>
		/// 报单引用
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderRef;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 前置编号
		/// </summary>
		public System.Int32 FrontID;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String OrderSysID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionFlagType ActionFlag;

		/// <summary>
		/// 价格
		/// </summary>
		public System.Double LimitPrice;

		/// <summary>
		/// 数量变化
		/// </summary>
		public System.Int32 VolumeChange;

		/// <summary>
		/// 操作日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDate;

		/// <summary>
		/// 操作时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionTime;

		/// <summary>
		/// 交易所交易员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TraderID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 本地报单编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String OrderLocalID;

		/// <summary>
		/// 操作本地编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String ActionLocalID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 客户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ClientID;

		/// <summary>
		/// 业务单元
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String BusinessUnit;

		/// <summary>
		/// 报单操作状态
		/// </summary>
		public TThostFtdcOrderActionStatusType OrderActionStatus;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 状态信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String StatusMsg;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 营业部编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BranchID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve2;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询交易所状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryExchangeSequenceField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 交易所状态
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcExchangeSequenceField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 序号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 合约交易状态
		/// </summary>
		public TThostFtdcInstrumentStatusType MarketStatus;

	}

	/// <summary>
	/// 根据价格查询最大报单数量
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMaxOrderVolumeWithPriceField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 开平标志
		/// </summary>
		public TThostFtdcOffsetFlagType OffsetFlag;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 最大允许报单数量
		/// </summary>
		public System.Int32 MaxVolume;

		/// <summary>
		/// 报单价格
		/// </summary>
		public System.Double Price;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询经纪公司交易参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerTradingParamsField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

	}

	/// <summary>
	/// 经纪公司交易参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerTradingParamsField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保证金价格类型
		/// </summary>
		public TThostFtdcMarginPriceTypeType MarginPriceType;

		/// <summary>
		/// 盈亏算法
		/// </summary>
		public TThostFtdcAlgorithmType Algorithm;

		/// <summary>
		/// 可用是否包含平仓盈利
		/// </summary>
		public TThostFtdcIncludeCloseProfitType AvailIncludeCloseProfit;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 期权权利金价格类型
		/// </summary>
		public TThostFtdcOptionRoyaltyPriceTypeType OptionRoyaltyPriceType;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

	}

	/// <summary>
	/// 查询经纪公司交易算法
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBrokerTradingAlgosField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 经纪公司交易算法
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerTradingAlgosField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 持仓处理算法编号
		/// </summary>
		public TThostFtdcHandlePositionAlgoIDType HandlePositionAlgoID;

		/// <summary>
		/// 寻找保证金率算法编号
		/// </summary>
		public TThostFtdcFindMarginRateAlgoIDType FindMarginRateAlgoID;

		/// <summary>
		/// 资金处理算法编号
		/// </summary>
		public TThostFtdcHandleTradingAccountAlgoIDType HandleTradingAccountAlgoID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询经纪公司资金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQueryBrokerDepositField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

	}

	/// <summary>
	/// 经纪公司资金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerDepositField
	{
		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 会员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 上次结算准备金
		/// </summary>
		public System.Double PreBalance;

		/// <summary>
		/// 当前保证金总额
		/// </summary>
		public System.Double CurrMargin;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 期货结算准备金
		/// </summary>
		public System.Double Balance;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 出金金额
		/// </summary>
		public System.Double Withdraw;

		/// <summary>
		/// 可提资金
		/// </summary>
		public System.Double Available;

		/// <summary>
		/// 基本准备金
		/// </summary>
		public System.Double Reserve;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

	}

	/// <summary>
	/// 查询保证金监管系统经纪公司密钥
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCFMMCBrokerKeyField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

	}

	/// <summary>
	/// 保证金监管系统经纪公司密钥
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCFMMCBrokerKeyField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 经纪公司统一编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 密钥生成日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CreateDate;

		/// <summary>
		/// 密钥生成时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CreateTime;

		/// <summary>
		/// 密钥编号
		/// </summary>
		public System.Int32 KeyID;

		/// <summary>
		/// 动态密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CurrentKey;

		/// <summary>
		/// 动态密钥类型
		/// </summary>
		public TThostFtdcCFMMCKeyKindType KeyKind;

	}

	/// <summary>
	/// 保证金监管系统经纪公司资金账户密钥
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCFMMCTradingAccountKeyField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 经纪公司统一编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 密钥编号
		/// </summary>
		public System.Int32 KeyID;

		/// <summary>
		/// 动态密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CurrentKey;

	}

	/// <summary>
	/// 请求查询保证金监管系统经纪公司资金账户密钥
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCFMMCTradingAccountKeyField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 用户动态令牌参数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserOTPParamField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 动态令牌提供商
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2)]
		public System.String OTPVendorsID;

		/// <summary>
		/// 动态令牌序列号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String SerialNumber;

		/// <summary>
		/// 令牌密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String AuthKey;

		/// <summary>
		/// 漂移值
		/// </summary>
		public System.Int32 LastDrift;

		/// <summary>
		/// 成功值
		/// </summary>
		public System.Int32 LastSuccess;

		/// <summary>
		/// 动态令牌类型
		/// </summary>
		public TThostFtdcOTPTypeType OTPType;

	}

	/// <summary>
	/// 手工同步用户动态令牌
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcManualSyncBrokerUserOTPField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 动态令牌类型
		/// </summary>
		public TThostFtdcOTPTypeType OTPType;

		/// <summary>
		/// 第一个动态密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String FirstOTP;

		/// <summary>
		/// 第二个动态密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String SecondOTP;

	}

	/// <summary>
	/// 投资者手续费率模板
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCommRateModelField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 手续费率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CommModelID;

		/// <summary>
		/// 模板名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String CommModelName;

	}

	/// <summary>
	/// 请求查询投资者手续费率模板
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCommRateModelField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 手续费率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String CommModelID;

	}

	/// <summary>
	/// 投资者保证金率模板
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMarginModelField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保证金率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MarginModelID;

		/// <summary>
		/// 模板名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String MarginModelName;

	}

	/// <summary>
	/// 请求查询投资者保证金率模板
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMarginModelField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 保证金率模板代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String MarginModelID;

	}

	/// <summary>
	/// 仓单折抵信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcEWarrantOffsetField
	{
		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询仓单折抵信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryEWarrantOffsetField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 查询投资者品种/跨品种保证金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryInvestorProductGroupMarginField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 品种/跨品种标示
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductGroupID;

	}

	/// <summary>
	/// 投资者品种/跨品种保证金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcInvestorProductGroupMarginField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 多头冻结的保证金
		/// </summary>
		public System.Double LongFrozenMargin;

		/// <summary>
		/// 空头冻结的保证金
		/// </summary>
		public System.Double ShortFrozenMargin;

		/// <summary>
		/// 占用的保证金
		/// </summary>
		public System.Double UseMargin;

		/// <summary>
		/// 多头保证金
		/// </summary>
		public System.Double LongUseMargin;

		/// <summary>
		/// 空头保证金
		/// </summary>
		public System.Double ShortUseMargin;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchMargin;

		/// <summary>
		/// 交易所多头保证金
		/// </summary>
		public System.Double LongExchMargin;

		/// <summary>
		/// 交易所空头保证金
		/// </summary>
		public System.Double ShortExchMargin;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 折抵总金额
		/// </summary>
		public System.Double OffsetAmount;

		/// <summary>
		/// 多头折抵总金额
		/// </summary>
		public System.Double LongOffsetAmount;

		/// <summary>
		/// 空头折抵总金额
		/// </summary>
		public System.Double ShortOffsetAmount;

		/// <summary>
		/// 交易所折抵总金额
		/// </summary>
		public System.Double ExchOffsetAmount;

		/// <summary>
		/// 交易所多头折抵总金额
		/// </summary>
		public System.Double LongExchOffsetAmount;

		/// <summary>
		/// 交易所空头折抵总金额
		/// </summary>
		public System.Double ShortExchOffsetAmount;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 品种/跨品种标示
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductGroupID;

	}

	/// <summary>
	/// 查询监控中心用户令牌
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQueryCFMMCTradingAccountTokenField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

	}

	/// <summary>
	/// 监控中心用户令牌
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCFMMCTradingAccountTokenField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 经纪公司统一编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ParticipantID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 密钥编号
		/// </summary>
		public System.Int32 KeyID;

		/// <summary>
		/// 动态令牌
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String Token;

	}

	/// <summary>
	/// 查询产品组
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryProductGroupField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 投资者品种/跨品种保证金产品组
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcProductGroupField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve2;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 产品组代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductGroupID;

	}

	/// <summary>
	/// 交易所公告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBulletinField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 公告编号
		/// </summary>
		public System.Int32 BulletinID;

		/// <summary>
		/// 序列号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 公告类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String NewsType;

		/// <summary>
		/// 紧急程度
		/// </summary>
		public System.Char NewsUrgency;

		/// <summary>
		/// 发送时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String SendTime;

		/// <summary>
		/// 消息摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String Abstract;

		/// <summary>
		/// 消息来源
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ComeFrom;

		/// <summary>
		/// 消息正文
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 501)]
		public System.String Content;

		/// <summary>
		/// WEB地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 201)]
		public System.String URLLink;

		/// <summary>
		/// 市场代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String MarketID;

	}

	/// <summary>
	/// 查询交易所公告
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryBulletinField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 公告编号
		/// </summary>
		public System.Int32 BulletinID;

		/// <summary>
		/// 序列号
		/// </summary>
		public System.Int32 SequenceNo;

		/// <summary>
		/// 公告类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String NewsType;

		/// <summary>
		/// 紧急程度
		/// </summary>
		public System.Char NewsUrgency;

	}

	/// <summary>
	/// MulticastInstrument
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcMulticastInstrumentField
	{
		/// <summary>
		/// 主题号
		/// </summary>
		public System.Int32 TopicID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约编号
		/// </summary>
		public System.Int32 InstrumentNo;

		/// <summary>
		/// 基准价
		/// </summary>
		public System.Double CodePrice;

		/// <summary>
		/// 合约数量乘数
		/// </summary>
		public System.Int32 VolumeMultiple;

		/// <summary>
		/// 最小变动价位
		/// </summary>
		public System.Double PriceTick;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// QryMulticastInstrument
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryMulticastInstrumentField
	{
		/// <summary>
		/// 主题号
		/// </summary>
		public System.Int32 TopicID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String reserve1;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// App客户端权限分配
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAppIDAuthAssignField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 DRIdentityID;

	}

	/// <summary>
	/// 转帐开户请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqOpenAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 汇钞标志
		/// </summary>
		public TThostFtdcCashExchangeCodeType CashExchangeCode;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 转帐销户请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqCancelAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 汇钞标志
		/// </summary>
		public TThostFtdcCashExchangeCodeType CashExchangeCode;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 变更银行账户请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqChangeAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 新银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewBankAccount;

		/// <summary>
		/// 新银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewBankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 转账请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqTransferField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 期货可取金额
		/// </summary>
		public System.Double FutureFetchAmount;

		/// <summary>
		/// 费用支付标志
		/// </summary>
		public TThostFtdcFeePayFlagType FeePayFlag;

		/// <summary>
		/// 应收客户费用
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 应收期货公司费用
		/// </summary>
		public System.Double BrokerFee;

		/// <summary>
		/// 发送方给接收方的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 转账交易状态
		/// </summary>
		public TThostFtdcTransferStatusType TransferStatus;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 银行发起银行资金转期货响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspTransferField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 期货可取金额
		/// </summary>
		public System.Double FutureFetchAmount;

		/// <summary>
		/// 费用支付标志
		/// </summary>
		public TThostFtdcFeePayFlagType FeePayFlag;

		/// <summary>
		/// 应收客户费用
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 应收期货公司费用
		/// </summary>
		public System.Double BrokerFee;

		/// <summary>
		/// 发送方给接收方的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 转账交易状态
		/// </summary>
		public TThostFtdcTransferStatusType TransferStatus;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 冲正请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqRepealField
	{
		/// <summary>
		/// 冲正时间间隔
		/// </summary>
		public System.Int32 RepealTimeInterval;

		/// <summary>
		/// 已经冲正次数
		/// </summary>
		public System.Int32 RepealedTimes;

		/// <summary>
		/// 银行冲正标志
		/// </summary>
		public TThostFtdcBankRepealFlagType BankRepealFlag;

		/// <summary>
		/// 期商冲正标志
		/// </summary>
		public TThostFtdcBrokerRepealFlagType BrokerRepealFlag;

		/// <summary>
		/// 被冲正平台流水号
		/// </summary>
		public System.Int32 PlateRepealSerial;

		/// <summary>
		/// 被冲正银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankRepealSerial;

		/// <summary>
		/// 被冲正期货流水号
		/// </summary>
		public System.Int32 FutureRepealSerial;

		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 期货可取金额
		/// </summary>
		public System.Double FutureFetchAmount;

		/// <summary>
		/// 费用支付标志
		/// </summary>
		public TThostFtdcFeePayFlagType FeePayFlag;

		/// <summary>
		/// 应收客户费用
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 应收期货公司费用
		/// </summary>
		public System.Double BrokerFee;

		/// <summary>
		/// 发送方给接收方的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 转账交易状态
		/// </summary>
		public TThostFtdcTransferStatusType TransferStatus;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 冲正响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspRepealField
	{
		/// <summary>
		/// 冲正时间间隔
		/// </summary>
		public System.Int32 RepealTimeInterval;

		/// <summary>
		/// 已经冲正次数
		/// </summary>
		public System.Int32 RepealedTimes;

		/// <summary>
		/// 银行冲正标志
		/// </summary>
		public TThostFtdcBankRepealFlagType BankRepealFlag;

		/// <summary>
		/// 期商冲正标志
		/// </summary>
		public TThostFtdcBrokerRepealFlagType BrokerRepealFlag;

		/// <summary>
		/// 被冲正平台流水号
		/// </summary>
		public System.Int32 PlateRepealSerial;

		/// <summary>
		/// 被冲正银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankRepealSerial;

		/// <summary>
		/// 被冲正期货流水号
		/// </summary>
		public System.Int32 FutureRepealSerial;

		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 期货可取金额
		/// </summary>
		public System.Double FutureFetchAmount;

		/// <summary>
		/// 费用支付标志
		/// </summary>
		public TThostFtdcFeePayFlagType FeePayFlag;

		/// <summary>
		/// 应收客户费用
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 应收期货公司费用
		/// </summary>
		public System.Double BrokerFee;

		/// <summary>
		/// 发送方给接收方的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 转账交易状态
		/// </summary>
		public TThostFtdcTransferStatusType TransferStatus;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 查询账户信息请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqQueryAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 查询账户信息响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspQueryAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 银行可用金额
		/// </summary>
		public System.Double BankUseAmount;

		/// <summary>
		/// 银行可取金额
		/// </summary>
		public System.Double BankFetchAmount;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 期商签到签退
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcFutureSignIOField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

	}

	/// <summary>
	/// 期商签到响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspFutureSignInField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// PIN密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String PinKey;

		/// <summary>
		/// MAC密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String MacKey;

	}

	/// <summary>
	/// 期商签退请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqFutureSignOutField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

	}

	/// <summary>
	/// 期商签退响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspFutureSignOutField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 查询指定流水号的交易结果请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqQueryTradeResultBySerialField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 流水号
		/// </summary>
		public System.Int32 Reference;

		/// <summary>
		/// 本流水号发布者的机构类型
		/// </summary>
		public TThostFtdcInstitutionTypeType RefrenceIssureType;

		/// <summary>
		/// 本流水号发布者机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String RefrenceIssure;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 查询指定流水号的交易结果响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspQueryTradeResultBySerialField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 流水号
		/// </summary>
		public System.Int32 Reference;

		/// <summary>
		/// 本流水号发布者的机构类型
		/// </summary>
		public TThostFtdcInstitutionTypeType RefrenceIssureType;

		/// <summary>
		/// 本流水号发布者机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String RefrenceIssure;

		/// <summary>
		/// 原始返回代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String OriginReturnCode;

		/// <summary>
		/// 原始返回码描述
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String OriginDescrInfoForReturnCode;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 转帐金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

	}

	/// <summary>
	/// 日终文件就绪请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqDayEndFileReadyField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 文件业务功能
		/// </summary>
		public TThostFtdcFileBusinessCodeType FileBusinessCode;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

	}

	/// <summary>
	/// 返回结果
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReturnResultField
	{
		/// <summary>
		/// 返回代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ReturnCode;

		/// <summary>
		/// 返回码描述
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String DescrInfoForReturnCode;

	}

	/// <summary>
	/// 验证期货资金密码
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcVerifyFuturePasswordField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 验证客户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcVerifyCustInfoField
	{
		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 验证期货资金密码和客户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcVerifyFuturePasswordAndCustInfoField
	{
		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 验证期货资金密码和客户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDepositResultInformField
	{
		/// <summary>
		/// 出入金流水号，该流水号为银期报盘返回的流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DepositSeqNo;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 返回代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ReturnCode;

		/// <summary>
		/// 返回码描述
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String DescrInfoForReturnCode;

	}

	/// <summary>
	/// 交易核心向银期报盘发出密钥同步请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqSyncKeyField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易核心给银期报盘的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

	}

	/// <summary>
	/// 交易核心向银期报盘发出密钥同步响应
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspSyncKeyField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易核心给银期报盘的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 查询账户信息通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcNotifyQueryAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 银行可用金额
		/// </summary>
		public System.Double BankUseAmount;

		/// <summary>
		/// 银行可取金额
		/// </summary>
		public System.Double BankFetchAmount;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 银期转账交易流水表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTransferSerialField
	{
		/// <summary>
		/// 平台流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 交易发起方日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 交易代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 会话编号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 期货公司编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 期货公司帐号类型
		/// </summary>
		public TThostFtdcFutureAccTypeType FutureAccType;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 期货公司流水号
		/// </summary>
		public System.Int32 FutureSerial;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 交易金额
		/// </summary>
		public System.Double TradeAmount;

		/// <summary>
		/// 应收客户费用
		/// </summary>
		public System.Double CustFee;

		/// <summary>
		/// 应收期货公司费用
		/// </summary>
		public System.Double BrokerFee;

		/// <summary>
		/// 有效标志
		/// </summary>
		public TThostFtdcAvailabilityFlagType AvailabilityFlag;

		/// <summary>
		/// 操作员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperatorCode;

		/// <summary>
		/// 新银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankNewAccount;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 请求查询转帐流水
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryTransferSerialField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 期商签到通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcNotifyFutureSignInField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// PIN密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String PinKey;

		/// <summary>
		/// MAC密钥
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String MacKey;

	}

	/// <summary>
	/// 期商签退通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcNotifyFutureSignOutField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 交易核心向银期报盘发出密钥同步处理结果的通知
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcNotifySyncKeyField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易核心给银期报盘的消息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)]
		public System.String Message;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 请求编号
		/// </summary>
		public System.Int32 RequestID;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 请求查询银期签约关系
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryAccountregisterField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 客户开销户信息表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAccountregisterField
	{
		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDay;

		/// <summary>
		/// 银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 期货公司编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期货公司分支机构编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 开销户类别
		/// </summary>
		public TThostFtdcOpenOrDestroyType OpenOrDestroy;

		/// <summary>
		/// 签约日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String RegDate;

		/// <summary>
		/// 解约日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OutDate;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 银期开户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcOpenAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 汇钞标志
		/// </summary>
		public TThostFtdcCashExchangeCodeType CashExchangeCode;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 银期销户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCancelAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 汇钞标志
		/// </summary>
		public TThostFtdcCashExchangeCodeType CashExchangeCode;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 渠道标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 3)]
		public System.String DeviceID;

		/// <summary>
		/// 期货单位帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankSecuAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 期货单位帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankSecuAcc;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易柜员
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String OperNo;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 用户标识
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 银期变更银行账号信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcChangeAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 新银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewBankAccount;

		/// <summary>
		/// 新银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String NewBankPassWord;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 银行密码标志
		/// </summary>
		public TThostFtdcPwdFlagType BankPwdFlag;

		/// <summary>
		/// 期货资金密码核对标志
		/// </summary>
		public TThostFtdcPwdFlagType SecuPwdFlag;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

		/// <summary>
		/// 长客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String LongCustomerName;

	}

	/// <summary>
	/// 二级代理操作员银期权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSecAgentACIDMapField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 境外中介机构资金帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BrokerSecAgentID;

	}

	/// <summary>
	/// 二级代理操作员银期权限查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySecAgentACIDMapField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 资金账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 灾备中心交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserRightsAssignField
	{
		/// <summary>
		/// 应用单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 DRIdentityID;

	}

	/// <summary>
	/// 经济公司是否有在本标示的交易权限
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcBrokerUserRightAssignField
	{
		/// <summary>
		/// 应用单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 DRIdentityID;

		/// <summary>
		/// 能否交易
		/// </summary>
		public System.Int32 Tradeable;

	}

	/// <summary>
	/// 灾备交易转换报文
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDRTransferField
	{
		/// <summary>
		/// 原交易中心代码
		/// </summary>
		public System.Int32 OrigDRIdentityID;

		/// <summary>
		/// 目标交易中心代码
		/// </summary>
		public System.Int32 DestDRIdentityID;

		/// <summary>
		/// 原应用单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String OrigBrokerID;

		/// <summary>
		/// 目标易用单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String DestBrokerID;

	}

	/// <summary>
	/// Fens用户信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcFensUserInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 登录模式
		/// </summary>
		public TThostFtdcLoginModeType LoginMode;

	}

	/// <summary>
	/// 当前银期所属交易中心
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCurrTransferIdentityField
	{
		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 IdentityID;

	}

	/// <summary>
	/// 禁止登录用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcLoginForbiddenUserField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询禁止登录用户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryLoginForbiddenUserField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 资金账户基本准备金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcTradingAccountReserveField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 基本准备金
		/// </summary>
		public System.Double Reserve;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 查询禁止登录IP
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryLoginForbiddenIPField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询IP列表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryIPListField
	{
		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询用户下单权限分配表
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryUserRightsAssignField
	{
		/// <summary>
		/// 应用单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 银期预约开户确认请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReserveOpenAccountConfirmField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 期货密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 预约开户银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankReserveOpenSeq;

		/// <summary>
		/// 预约开户日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String BookDate;

		/// <summary>
		/// 预约开户验证密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BookPsw;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 银期预约开户
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReserveOpenAccountField
	{
		/// <summary>
		/// 业务功能码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String TradeCode;

		/// <summary>
		/// 银行代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String BankBranchID;

		/// <summary>
		/// 期商代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 期商分支机构代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String BrokerBranchID;

		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeDate;

		/// <summary>
		/// 交易时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradeTime;

		/// <summary>
		/// 银行流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BankSerial;

		/// <summary>
		/// 交易系统日期 
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 银期平台消息流水号
		/// </summary>
		public System.Int32 PlateSerial;

		/// <summary>
		/// 最后分片标志
		/// </summary>
		public TThostFtdcLastFragmentType LastFragment;

		/// <summary>
		/// 会话号
		/// </summary>
		public System.Int32 SessionID;

		/// <summary>
		/// 客户姓名
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 161)]
		public System.String CustomerName;

		/// <summary>
		/// 证件类型
		/// </summary>
		public TThostFtdcIdCardTypeType IdCardType;

		/// <summary>
		/// 证件号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 51)]
		public System.String IdentifiedCardNo;

		/// <summary>
		/// 性别
		/// </summary>
		public TThostFtdcGenderType Gender;

		/// <summary>
		/// 国家代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String CountryCode;

		/// <summary>
		/// 客户类型
		/// </summary>
		public TThostFtdcCustTypeType CustType;

		/// <summary>
		/// 地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String Address;

		/// <summary>
		/// 邮编
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 7)]
		public System.String ZipCode;

		/// <summary>
		/// 电话号码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Telephone;

		/// <summary>
		/// 手机
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MobilePhone;

		/// <summary>
		/// 传真
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Fax;

		/// <summary>
		/// 电子邮件
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String EMail;

		/// <summary>
		/// 资金账户状态
		/// </summary>
		public TThostFtdcMoneyAccountStatusType MoneyAccountStatus;

		/// <summary>
		/// 银行帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankPassWord;

		/// <summary>
		/// 安装编号
		/// </summary>
		public System.Int32 InstallID;

		/// <summary>
		/// 验证客户证件号码标志
		/// </summary>
		public TThostFtdcYesNoIndicatorType VerifyCertNoFlag;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 摘要
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String Digest;

		/// <summary>
		/// 银行帐号类型
		/// </summary>
		public TThostFtdcBankAccTypeType BankAccType;

		/// <summary>
		/// 期货公司银行编码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String BrokerIDByBank;

		/// <summary>
		/// 交易ID
		/// </summary>
		public System.Int32 TID;

		/// <summary>
		/// 预约开户状态
		/// </summary>
		public TThostFtdcReserveOpenAccStasType ReserveOpenAccStas;

		/// <summary>
		/// 错误代码
		/// </summary>
		public System.Int32 ErrorID;

		/// <summary>
		/// 错误信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ErrorMsg;

	}

	/// <summary>
	/// 银行账户属性
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAccountPropertyField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 银行统一标识类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String BankID;

		/// <summary>
		/// 银行账户
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String BankAccount;

		/// <summary>
		/// 银行账户的开户人名称
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String OpenName;

		/// <summary>
		/// 银行账户的开户行
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 101)]
		public System.String OpenBank;

		/// <summary>
		/// 是否活跃
		/// </summary>
		public System.Int32 IsActive;

		/// <summary>
		/// 账户来源
		/// </summary>
		public TThostFtdcAccountSourceTypeType AccountSourceType;

		/// <summary>
		/// 开户日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 注销日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String CancelDate;

		/// <summary>
		/// 录入员代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 65)]
		public System.String OperatorID;

		/// <summary>
		/// 录入日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OperateDate;

		/// <summary>
		/// 录入时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OperateTime;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

	}

	/// <summary>
	/// 查询当前交易中心
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCurrDRIdentityField
	{
		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 DRIdentityID;

	}

	/// <summary>
	/// 当前交易中心
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCurrDRIdentityField
	{
		/// <summary>
		/// 交易中心代码
		/// </summary>
		public System.Int32 DRIdentityID;

	}

	/// <summary>
	/// 查询二级代理商资金校验模式
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySecAgentCheckModeField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 查询二级代理商信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQrySecAgentTradeInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 境外中介机构资金帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String BrokerSecAgentID;

	}

	/// <summary>
	/// 用户发出获取安全安全登陆方法请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserAuthMethodField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 用户发出获取安全安全登陆方法回复
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspUserAuthMethodField
	{
		/// <summary>
		/// 当前可以用的认证模式
		/// </summary>
		public System.Int32 UsableAuthMethod;

	}

	/// <summary>
	/// 用户发出获取安全安全登陆方法请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqGenUserCaptchaField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 生成的图片验证码信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspGenUserCaptchaField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 图片信息长度
		/// </summary>
		public System.Int32 CaptchaInfoLen;

		/// <summary>
		/// 图片信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2561)]
		public System.String CaptchaInfo;

	}

	/// <summary>
	/// 用户发出获取安全安全登陆方法请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqGenUserTextField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

	}

	/// <summary>
	/// 短信验证码生成的回复
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspGenUserTextField
	{
		/// <summary>
		/// 短信验证码序号
		/// </summary>
		public System.Int32 UserTextSeq;

	}

	/// <summary>
	/// 用户发出带图形验证码的登录请求请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserLoginWithCaptchaField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// 图形验证码的文字内容
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Captcha;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

	}

	/// <summary>
	/// 用户发出带短信验证码的登录请求请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserLoginWithTextField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// 短信验证码文字内容
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Text;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

	}

	/// <summary>
	/// 用户发出带动态验证码的登录请求请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserLoginWithOTPField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// OTP密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OTPPassword;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

	}

	/// <summary>
	/// api握手请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqApiHandshakeField
	{
		/// <summary>
		/// api与front通信密钥版本号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 31)]
		public System.String CryptoKeyVersion;

	}

	/// <summary>
	/// front发给api的握手回复
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRspApiHandshakeField
	{
		/// <summary>
		/// 握手回复数据长度
		/// </summary>
		public System.Int32 FrontHandshakeDataLen;

		/// <summary>
		/// 握手回复数据
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 301)]
		public System.String FrontHandshakeData;

		/// <summary>
		/// API认证是否开启
		/// </summary>
		public System.Int32 IsApiAuthEnabled;

	}

	/// <summary>
	/// api给front的验证key的请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqVerifyApiKeyField
	{
		/// <summary>
		/// 握手回复数据长度
		/// </summary>
		public System.Int32 ApiHandshakeDataLen;

		/// <summary>
		/// 握手回复数据
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 301)]
		public System.String ApiHandshakeData;

	}

	/// <summary>
	/// 操作员组织架构关系
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcDepartmentUserField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcDepartmentRangeType InvestorRange;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

	}

	/// <summary>
	/// 查询频率，每秒查询比数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQueryFreqField
	{
		/// <summary>
		/// 查询频率
		/// </summary>
		public System.Int32 QueryFreq;

	}

	/// <summary>
	/// 禁止认证IP
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAuthForbiddenIPField
	{
		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询禁止认证IP
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryAuthForbiddenIPField
	{
		/// <summary>
		/// IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 换汇可提冻结
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDelaySwapFrozenField
	{
		/// <summary>
		/// 换汇流水号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 15)]
		public System.String DelaySwapSeqNo;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 源币种
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String FromCurrencyID;

		/// <summary>
		/// 源剩余换汇额度(可提冻结)
		/// </summary>
		public System.Double FromRemainSwap;

		/// <summary>
		/// 是否手工换汇
		/// </summary>
		public System.Int32 IsManualSwap;

	}

	/// <summary>
	/// 用户系统信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcUserSystemInfoField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 用户端系统内部信息长度
		/// </summary>
		public System.Int32 ClientSystemInfoLen;

		/// <summary>
		/// 用户端系统内部信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 273)]
		public System.String ClientSystemInfo;

		/// <summary>
		/// 保留的无效字段
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String reserve1;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 登录成功时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ClientLoginTime;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientAppID;

		/// <summary>
		/// 用户公网IP
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientPublicIP;

		/// <summary>
		/// 客户登录备注2
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 151)]
		public System.String ClientLoginRemark;

	}

	/// <summary>
	/// 终端用户绑定信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAuthUserIDField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 校验类型
		/// </summary>
		public TThostFtdcAuthTypeType AuthType;

	}

	/// <summary>
	/// 用户IP绑定信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcAuthIPField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String IPAddress;

	}

	/// <summary>
	/// 查询分类合约
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryClassifiedInstrumentField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 合约交易状态
		/// </summary>
		public TThostFtdcTradingTypeType TradingType;

		/// <summary>
		/// 合约分类类型
		/// </summary>
		public TThostFtdcClassTypeType ClassType;

	}

	/// <summary>
	/// 查询组合优惠比例
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryCombPromotionParamField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 组合优惠比例
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcCombPromotionParamField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 5)]
		public System.String CombHedgeFlag;

		/// <summary>
		/// 期权组合保证金比例
		/// </summary>
		public System.Double Xparameter;

	}

	/// <summary>
	/// 国密用户登录请求
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcReqUserLoginSCField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 用户代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 16)]
		public System.String UserID;

		/// <summary>
		/// 密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String Password;

		/// <summary>
		/// 用户端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String UserProductInfo;

		/// <summary>
		/// 接口端产品信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String InterfaceProductInfo;

		/// <summary>
		/// 协议信息
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String ProtocolInfo;

		/// <summary>
		/// Mac地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String MacAddress;

		/// <summary>
		/// 动态密码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 41)]
		public System.String OneTimePassword;

		/// <summary>
		/// 终端IP地址
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String ClientIPAddress;

		/// <summary>
		/// 登录备注
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 36)]
		public System.String LoginRemark;

		/// <summary>
		/// 终端IP端口
		/// </summary>
		public System.Int32 ClientIPPort;

		/// <summary>
		/// 认证码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String AuthCode;

		/// <summary>
		/// App代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 33)]
		public System.String AppID;

	}

	/// <summary>
	/// 投资者风险结算持仓查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryRiskSettleInvstPositionField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

	}

	/// <summary>
	/// 风险结算产品查询
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcQryRiskSettleProductStatusField
	{
		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

	}

	/// <summary>
	/// 投资者风险结算持仓
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRiskSettleInvstPositionField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 持仓多空方向
		/// </summary>
		public TThostFtdcPosiDirectionType PosiDirection;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 持仓日期
		/// </summary>
		public TThostFtdcPositionDateType PositionDate;

		/// <summary>
		/// 上日持仓
		/// </summary>
		public System.Int32 YdPosition;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 Position;

		/// <summary>
		/// 多头冻结
		/// </summary>
		public System.Int32 LongFrozen;

		/// <summary>
		/// 空头冻结
		/// </summary>
		public System.Int32 ShortFrozen;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double LongFrozenAmount;

		/// <summary>
		/// 开仓冻结金额
		/// </summary>
		public System.Double ShortFrozenAmount;

		/// <summary>
		/// 开仓量
		/// </summary>
		public System.Int32 OpenVolume;

		/// <summary>
		/// 平仓量
		/// </summary>
		public System.Int32 CloseVolume;

		/// <summary>
		/// 开仓金额
		/// </summary>
		public System.Double OpenAmount;

		/// <summary>
		/// 平仓金额
		/// </summary>
		public System.Double CloseAmount;

		/// <summary>
		/// 持仓成本
		/// </summary>
		public System.Double PositionCost;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 占用的保证金
		/// </summary>
		public System.Double UseMargin;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 开仓成本
		/// </summary>
		public System.Double OpenCost;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 组合成交形成的持仓
		/// </summary>
		public System.Int32 CombPosition;

		/// <summary>
		/// 组合多头冻结
		/// </summary>
		public System.Int32 CombLongFrozen;

		/// <summary>
		/// 组合空头冻结
		/// </summary>
		public System.Int32 CombShortFrozen;

		/// <summary>
		/// 逐日盯市平仓盈亏
		/// </summary>
		public System.Double CloseProfitByDate;

		/// <summary>
		/// 逐笔对冲平仓盈亏
		/// </summary>
		public System.Double CloseProfitByTrade;

		/// <summary>
		/// 今日持仓
		/// </summary>
		public System.Int32 TodayPosition;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 执行冻结
		/// </summary>
		public System.Int32 StrikeFrozen;

		/// <summary>
		/// 执行冻结金额
		/// </summary>
		public System.Double StrikeFrozenAmount;

		/// <summary>
		/// 放弃执行冻结
		/// </summary>
		public System.Int32 AbandonFrozen;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 执行冻结的昨仓
		/// </summary>
		public System.Int32 YdStrikeFrozen;

		/// <summary>
		/// 投资单元代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 17)]
		public System.String InvestUnitID;

		/// <summary>
		/// 持仓成本差值
		/// </summary>
		public System.Double PositionCostOffset;

		/// <summary>
		/// tas持仓手数
		/// </summary>
		public System.Int32 TasPosition;

		/// <summary>
		/// tas持仓成本
		/// </summary>
		public System.Double TasPositionCost;

	}

	/// <summary>
	/// 风险品种
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcRiskSettleProductStatusField
	{
		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 产品结算状态
		/// </summary>
		public TThostFtdcProductStatusType ProductStatus;

	}

	/// <summary>
	/// 风险结算追平信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInfoField
	{
		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

		/// <summary>
		/// 追平状态
		/// </summary>
		public TThostFtdcSyncDeltaStatusType SyncDeltaStatus;

		/// <summary>
		/// 追平描述
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 257)]
		public System.String SyncDescription;

		/// <summary>
		/// 是否只有资金追平
		/// </summary>
		public System.Int32 IsOnlyTrdDelta;

	}

	/// <summary>
	/// 风险结算追平产品信息
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaProductStatusField
	{
		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 是否允许交易
		/// </summary>
		public TThostFtdcProductStatusType ProductStatus;

	}

	/// <summary>
	/// 风险结算追平持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInvstPosDtlField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 买卖
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 开仓日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 成交编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 开仓价
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 成交类型
		/// </summary>
		public TThostFtdcTradeTypeType TradeType;

		/// <summary>
		/// 组合合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 逐日盯市平仓盈亏
		/// </summary>
		public System.Double CloseProfitByDate;

		/// <summary>
		/// 逐笔对冲平仓盈亏
		/// </summary>
		public System.Double CloseProfitByTrade;

		/// <summary>
		/// 逐日盯市持仓盈亏
		/// </summary>
		public System.Double PositionProfitByDate;

		/// <summary>
		/// 逐笔对冲持仓盈亏
		/// </summary>
		public System.Double PositionProfitByTrade;

		/// <summary>
		/// 投资者保证金
		/// </summary>
		public System.Double Margin;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchMargin;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 昨结算价
		/// </summary>
		public System.Double LastSettlementPrice;

		/// <summary>
		/// 结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 平仓量
		/// </summary>
		public System.Int32 CloseVolume;

		/// <summary>
		/// 平仓金额
		/// </summary>
		public System.Double CloseAmount;

		/// <summary>
		/// 先开先平剩余数量
		/// </summary>
		public System.Int32 TimeFirstVolume;

		/// <summary>
		/// 特殊持仓标志
		/// </summary>
		public TThostFtdcSpecPosiTypeType SpecPosiType;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平组合持仓明细
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInvstPosCombDtlField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 开仓日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String OpenDate;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 组合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String ComTradeID;

		/// <summary>
		/// 撮合编号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 21)]
		public System.String TradeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 买卖
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Int32 TotalAmt;

		/// <summary>
		/// 投资者保证金
		/// </summary>
		public System.Double Margin;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchMargin;

		/// <summary>
		/// 保证金率
		/// </summary>
		public System.Double MarginRateByMoney;

		/// <summary>
		/// 保证金率(按手数)
		/// </summary>
		public System.Double MarginRateByVolume;

		/// <summary>
		/// 单腿编号
		/// </summary>
		public System.Int32 LegID;

		/// <summary>
		/// 单腿乘数
		/// </summary>
		public System.Int32 LegMultiple;

		/// <summary>
		/// 成交组号
		/// </summary>
		public System.Int32 TradeGroupID;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平资金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaTradingAccountField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者帐号
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String AccountID;

		/// <summary>
		/// 上次质押金额
		/// </summary>
		public System.Double PreMortgage;

		/// <summary>
		/// 上次信用额度
		/// </summary>
		public System.Double PreCredit;

		/// <summary>
		/// 上次存款额
		/// </summary>
		public System.Double PreDeposit;

		/// <summary>
		/// 上次结算准备金
		/// </summary>
		public System.Double PreBalance;

		/// <summary>
		/// 上次占用的保证金
		/// </summary>
		public System.Double PreMargin;

		/// <summary>
		/// 利息基数
		/// </summary>
		public System.Double InterestBase;

		/// <summary>
		/// 利息收入
		/// </summary>
		public System.Double Interest;

		/// <summary>
		/// 入金金额
		/// </summary>
		public System.Double Deposit;

		/// <summary>
		/// 出金金额
		/// </summary>
		public System.Double Withdraw;

		/// <summary>
		/// 冻结的保证金
		/// </summary>
		public System.Double FrozenMargin;

		/// <summary>
		/// 冻结的资金
		/// </summary>
		public System.Double FrozenCash;

		/// <summary>
		/// 冻结的手续费
		/// </summary>
		public System.Double FrozenCommission;

		/// <summary>
		/// 当前保证金总额
		/// </summary>
		public System.Double CurrMargin;

		/// <summary>
		/// 资金差额
		/// </summary>
		public System.Double CashIn;

		/// <summary>
		/// 手续费
		/// </summary>
		public System.Double Commission;

		/// <summary>
		/// 平仓盈亏
		/// </summary>
		public System.Double CloseProfit;

		/// <summary>
		/// 持仓盈亏
		/// </summary>
		public System.Double PositionProfit;

		/// <summary>
		/// 期货结算准备金
		/// </summary>
		public System.Double Balance;

		/// <summary>
		/// 可用资金
		/// </summary>
		public System.Double Available;

		/// <summary>
		/// 可取资金
		/// </summary>
		public System.Double WithdrawQuota;

		/// <summary>
		/// 基本准备金
		/// </summary>
		public System.Double Reserve;

		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 结算编号
		/// </summary>
		public System.Int32 SettlementID;

		/// <summary>
		/// 信用额度
		/// </summary>
		public System.Double Credit;

		/// <summary>
		/// 质押金额
		/// </summary>
		public System.Double Mortgage;

		/// <summary>
		/// 交易所保证金
		/// </summary>
		public System.Double ExchangeMargin;

		/// <summary>
		/// 投资者交割保证金
		/// </summary>
		public System.Double DeliveryMargin;

		/// <summary>
		/// 交易所交割保证金
		/// </summary>
		public System.Double ExchangeDeliveryMargin;

		/// <summary>
		/// 保底期货结算准备金
		/// </summary>
		public System.Double ReserveBalance;

		/// <summary>
		/// 币种代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String CurrencyID;

		/// <summary>
		/// 上次货币质入金额
		/// </summary>
		public System.Double PreFundMortgageIn;

		/// <summary>
		/// 上次货币质出金额
		/// </summary>
		public System.Double PreFundMortgageOut;

		/// <summary>
		/// 货币质入金额
		/// </summary>
		public System.Double FundMortgageIn;

		/// <summary>
		/// 货币质出金额
		/// </summary>
		public System.Double FundMortgageOut;

		/// <summary>
		/// 货币质押余额
		/// </summary>
		public System.Double FundMortgageAvailable;

		/// <summary>
		/// 可质押货币金额
		/// </summary>
		public System.Double MortgageableFund;

		/// <summary>
		/// 特殊产品占用保证金
		/// </summary>
		public System.Double SpecProductMargin;

		/// <summary>
		/// 特殊产品冻结保证金
		/// </summary>
		public System.Double SpecProductFrozenMargin;

		/// <summary>
		/// 特殊产品手续费
		/// </summary>
		public System.Double SpecProductCommission;

		/// <summary>
		/// 特殊产品冻结手续费
		/// </summary>
		public System.Double SpecProductFrozenCommission;

		/// <summary>
		/// 特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfit;

		/// <summary>
		/// 特殊产品平仓盈亏
		/// </summary>
		public System.Double SpecProductCloseProfit;

		/// <summary>
		/// 根据持仓盈亏算法计算的特殊产品持仓盈亏
		/// </summary>
		public System.Double SpecProductPositionProfitByAlg;

		/// <summary>
		/// 特殊产品交易所保证金
		/// </summary>
		public System.Double SpecProductExchangeMargin;

		/// <summary>
		/// 延时换汇冻结金额
		/// </summary>
		public System.Double FrozenSwap;

		/// <summary>
		/// 剩余换汇额度
		/// </summary>
		public System.Double RemainSwap;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 投资者风险结算总保证金
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInitInvstMarginField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 追平前总风险保证金
		/// </summary>
		public System.Double LastRiskTotalInvstMargin;

		/// <summary>
		/// 追平前交易所总风险保证金
		/// </summary>
		public System.Double LastRiskTotalExchMargin;

		/// <summary>
		/// 本次追平品种总保证金
		/// </summary>
		public System.Double ThisSyncInvstMargin;

		/// <summary>
		/// 本次追平品种交易所总保证金
		/// </summary>
		public System.Double ThisSyncExchMargin;

		/// <summary>
		/// 本次未追平品种总保证金
		/// </summary>
		public System.Double RemainRiskInvstMargin;

		/// <summary>
		/// 本次未追平品种交易所总保证金
		/// </summary>
		public System.Double RemainRiskExchMargin;

		/// <summary>
		/// 追平前总特殊产品风险保证金
		/// </summary>
		public System.Double LastRiskSpecTotalInvstMargin;

		/// <summary>
		/// 追平前总特殊产品交易所风险保证金
		/// </summary>
		public System.Double LastRiskSpecTotalExchMargin;

		/// <summary>
		/// 本次追平品种特殊产品总保证金
		/// </summary>
		public System.Double ThisSyncSpecInvstMargin;

		/// <summary>
		/// 本次追平品种特殊产品交易所总保证金
		/// </summary>
		public System.Double ThisSyncSpecExchMargin;

		/// <summary>
		/// 本次未追平品种特殊产品总保证金
		/// </summary>
		public System.Double RemainRiskSpecInvstMargin;

		/// <summary>
		/// 本次未追平品种特殊产品交易所总保证金
		/// </summary>
		public System.Double RemainRiskSpecExchMargin;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平组合优先级
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaDceCombInstrumentField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String CombInstrumentID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 成交组号
		/// </summary>
		public System.Int32 TradeGroupID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType CombHedgeFlag;

		/// <summary>
		/// 组合类型
		/// </summary>
		public TThostFtdcDceCombinationTypeType CombinationType;

		/// <summary>
		/// 买卖
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 期权组合保证金比例
		/// </summary>
		public System.Double Xparameter;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平投资者期货保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInvstMarginRateField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 是否相对交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平交易所期货保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaExchMarginRateField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平中金现货期权交易所保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaOptExchMarginField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByMoney;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByVolume;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByMoney;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByVolume;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByMoney;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByVolume;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByMoney;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平中金现货期权投资者保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaOptInvstMarginField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByMoney;

		/// <summary>
		/// 投机空头保证金调整系数
		/// </summary>
		public System.Double SShortMarginRatioByVolume;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByMoney;

		/// <summary>
		/// 保值空头保证金调整系数
		/// </summary>
		public System.Double HShortMarginRatioByVolume;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByMoney;

		/// <summary>
		/// 套利空头保证金调整系数
		/// </summary>
		public System.Double AShortMarginRatioByVolume;

		/// <summary>
		/// 是否跟随交易所收取
		/// </summary>
		public System.Int32 IsRelative;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByMoney;

		/// <summary>
		/// 做市商空头保证金调整系数
		/// </summary>
		public System.Double MShortMarginRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平期权标的调整保证金率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInvstMarginRateULField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 多头保证金率
		/// </summary>
		public System.Double LongMarginRatioByMoney;

		/// <summary>
		/// 多头保证金费
		/// </summary>
		public System.Double LongMarginRatioByVolume;

		/// <summary>
		/// 空头保证金率
		/// </summary>
		public System.Double ShortMarginRatioByMoney;

		/// <summary>
		/// 空头保证金费
		/// </summary>
		public System.Double ShortMarginRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平期权手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaOptInvstCommRateField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 执行手续费率
		/// </summary>
		public System.Double StrikeRatioByMoney;

		/// <summary>
		/// 执行手续费
		/// </summary>
		public System.Double StrikeRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平期货手续费率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaInvstCommRateField
	{
		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 投资者范围
		/// </summary>
		public TThostFtdcInvestorRangeType InvestorRange;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 开仓手续费率
		/// </summary>
		public System.Double OpenRatioByMoney;

		/// <summary>
		/// 开仓手续费
		/// </summary>
		public System.Double OpenRatioByVolume;

		/// <summary>
		/// 平仓手续费率
		/// </summary>
		public System.Double CloseRatioByMoney;

		/// <summary>
		/// 平仓手续费
		/// </summary>
		public System.Double CloseRatioByVolume;

		/// <summary>
		/// 平今手续费率
		/// </summary>
		public System.Double CloseTodayRatioByMoney;

		/// <summary>
		/// 平今手续费
		/// </summary>
		public System.Double CloseTodayRatioByVolume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平交叉汇率
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaProductExchRateField
	{
		/// <summary>
		/// 产品代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ProductID;

		/// <summary>
		/// 报价币种类型
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)]
		public System.String QuoteCurrencyID;

		/// <summary>
		/// 汇率
		/// </summary>
		public System.Double ExchangeRate;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平行情
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaDepthMarketDataField
	{
		/// <summary>
		/// 交易日
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约在交易所的代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String ExchangeInstID;

		/// <summary>
		/// 最新价
		/// </summary>
		public System.Double LastPrice;

		/// <summary>
		/// 上次结算价
		/// </summary>
		public System.Double PreSettlementPrice;

		/// <summary>
		/// 昨收盘
		/// </summary>
		public System.Double PreClosePrice;

		/// <summary>
		/// 昨持仓量
		/// </summary>
		public System.Double PreOpenInterest;

		/// <summary>
		/// 今开盘
		/// </summary>
		public System.Double OpenPrice;

		/// <summary>
		/// 最高价
		/// </summary>
		public System.Double HighestPrice;

		/// <summary>
		/// 最低价
		/// </summary>
		public System.Double LowestPrice;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 成交金额
		/// </summary>
		public System.Double Turnover;

		/// <summary>
		/// 持仓量
		/// </summary>
		public System.Double OpenInterest;

		/// <summary>
		/// 今收盘
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 本次结算价
		/// </summary>
		public System.Double SettlementPrice;

		/// <summary>
		/// 涨停板价
		/// </summary>
		public System.Double UpperLimitPrice;

		/// <summary>
		/// 跌停板价
		/// </summary>
		public System.Double LowerLimitPrice;

		/// <summary>
		/// 昨虚实度
		/// </summary>
		public System.Double PreDelta;

		/// <summary>
		/// 今虚实度
		/// </summary>
		public System.Double CurrDelta;

		/// <summary>
		/// 最后修改时间
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String UpdateTime;

		/// <summary>
		/// 最后修改毫秒
		/// </summary>
		public System.Int32 UpdateMillisec;

		/// <summary>
		/// 申买价一
		/// </summary>
		public System.Double BidPrice1;

		/// <summary>
		/// 申买量一
		/// </summary>
		public System.Int32 BidVolume1;

		/// <summary>
		/// 申卖价一
		/// </summary>
		public System.Double AskPrice1;

		/// <summary>
		/// 申卖量一
		/// </summary>
		public System.Int32 AskVolume1;

		/// <summary>
		/// 申买价二
		/// </summary>
		public System.Double BidPrice2;

		/// <summary>
		/// 申买量二
		/// </summary>
		public System.Int32 BidVolume2;

		/// <summary>
		/// 申卖价二
		/// </summary>
		public System.Double AskPrice2;

		/// <summary>
		/// 申卖量二
		/// </summary>
		public System.Int32 AskVolume2;

		/// <summary>
		/// 申买价三
		/// </summary>
		public System.Double BidPrice3;

		/// <summary>
		/// 申买量三
		/// </summary>
		public System.Int32 BidVolume3;

		/// <summary>
		/// 申卖价三
		/// </summary>
		public System.Double AskPrice3;

		/// <summary>
		/// 申卖量三
		/// </summary>
		public System.Int32 AskVolume3;

		/// <summary>
		/// 申买价四
		/// </summary>
		public System.Double BidPrice4;

		/// <summary>
		/// 申买量四
		/// </summary>
		public System.Int32 BidVolume4;

		/// <summary>
		/// 申卖价四
		/// </summary>
		public System.Double AskPrice4;

		/// <summary>
		/// 申卖量四
		/// </summary>
		public System.Int32 AskVolume4;

		/// <summary>
		/// 申买价五
		/// </summary>
		public System.Double BidPrice5;

		/// <summary>
		/// 申买量五
		/// </summary>
		public System.Int32 BidVolume5;

		/// <summary>
		/// 申卖价五
		/// </summary>
		public System.Double AskPrice5;

		/// <summary>
		/// 申卖量五
		/// </summary>
		public System.Int32 AskVolume5;

		/// <summary>
		/// 当日均价
		/// </summary>
		public System.Double AveragePrice;

		/// <summary>
		/// 业务日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ActionDay;

		/// <summary>
		/// 上带价
		/// </summary>
		public System.Double BandingUpperPrice;

		/// <summary>
		/// 下带价
		/// </summary>
		public System.Double BandingLowerPrice;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平现货指数
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaIndexPriceField
	{
		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 指数现货收盘价
		/// </summary>
		public System.Double ClosePrice;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

	/// <summary>
	/// 风险结算追平仓单折抵
	/// </summary>
	[StructLayout(LayoutKind.Sequential)]
	public struct CThostFtdcSyncDeltaEWarrantOffsetField
	{
		/// <summary>
		/// 交易日期
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String TradingDay;

		/// <summary>
		/// 经纪公司代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 11)]
		public System.String BrokerID;

		/// <summary>
		/// 投资者代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 13)]
		public System.String InvestorID;

		/// <summary>
		/// 交易所代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 9)]
		public System.String ExchangeID;

		/// <summary>
		/// 合约代码
		/// </summary>
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 81)]
		public System.String InstrumentID;

		/// <summary>
		/// 买卖方向
		/// </summary>
		public TThostFtdcDirectionType Direction;

		/// <summary>
		/// 投机套保标志
		/// </summary>
		public TThostFtdcHedgeFlagType HedgeFlag;

		/// <summary>
		/// 数量
		/// </summary>
		public System.Int32 Volume;

		/// <summary>
		/// 操作标志
		/// </summary>
		public TThostFtdcActionDirectionType ActionDirection;

		/// <summary>
		/// 追平序号
		/// </summary>
		public System.Int32 SyncDeltaSequenceNo;

	}

}